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

Unified Diff: content/child/site_isolation_stats_gatherer.h

Issue 2557673006: Move Origin::GetURL() out of resource request critical path (Closed)
Patch Set: Created 4 years 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
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 36173193335bbeaf15f26968b7b5b460c6ef7af7..3baa38ea6c9aaca1c7ddd1f22c0c6592caa43140 100644
--- a/content/child/site_isolation_stats_gatherer.h
+++ b/content/child/site_isolation_stats_gatherer.h
@@ -15,6 +15,7 @@
#include "content/common/cross_site_document_classifier.h"
#include "content/public/common/resource_type.h"
#include "url/gurl.h"
+#include "url/origin.h"
namespace content {
@@ -70,7 +71,7 @@ class CONTENT_EXPORT SiteIsolationStatsGatherer {
// request identified by |request_id|. Any data returned should then be
// passed to OnReceivedFirstChunk() with the first data chunk.
static std::unique_ptr<SiteIsolationResponseMetaData> OnReceivedResponse(
- const GURL& frame_origin,
+ const url::Origin& frame_origin,
const GURL& response_url,
ResourceType resource_type,
int origin_pid,

Powered by Google App Engine
This is Rietveld 408576698