Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Unified Diff: content/child/site_isolation_stats_gatherer.h

Issue 1561563002: Cleanup ResourceDispatcher::PendingRequestInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/site_isolation_stats_gatherer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/site_isolation_stats_gatherer.h
diff --git a/content/child/site_isolation_stats_gatherer.h b/content/child/site_isolation_stats_gatherer.h
index 7e792797281eee9624bca57b9b674ea749fe32f3..4530a16f127f3688e3477a53ccc9f1388ce01a53 100644
--- a/content/child/site_isolation_stats_gatherer.h
+++ b/content/child/site_isolation_stats_gatherer.h
@@ -9,7 +9,7 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
+#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
#include "content/common/content_export.h"
#include "content/common/cross_site_document_classifier.h"
@@ -69,7 +69,7 @@ class CONTENT_EXPORT SiteIsolationStatsGatherer {
// Returns any bookkeeping data about the HTTP header information for the
// request identified by |request_id|. Any data returned should then be
// passed to OnReceivedFirstChunk() with the first data chunk.
- static linked_ptr<SiteIsolationResponseMetaData> OnReceivedResponse(
+ static scoped_ptr<SiteIsolationResponseMetaData> OnReceivedResponse(
const GURL& frame_origin,
const GURL& response_url,
ResourceType resource_type,
@@ -81,7 +81,7 @@ class CONTENT_EXPORT SiteIsolationStatsGatherer {
// kinds of UMA data stats. This function is called only if the length of
// received data is non-zero.
static bool OnReceivedFirstChunk(
- const linked_ptr<SiteIsolationResponseMetaData>& resp_data,
+ const scoped_ptr<SiteIsolationResponseMetaData>& resp_data,
const char* payload,
int length);
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/site_isolation_stats_gatherer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698