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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 1181493002: [Patch 3 of 6] Split out content/child's SiteIsolationPolicy into two new classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer2
Patch Set: Add crbug. Created 5 years, 6 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/site_isolation_policy_unittest.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 2dfb2c5f8274e5472a5dc971aea6ef58b0cc90b7..8c5936c1ad6decdde4a1d7972e7ae34af60acc38 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -273,10 +273,10 @@ class CONTENT_EXPORT ContentRendererClient {
virtual bool ShouldReportDetailedMessageForSource(
const base::string16& source) const;
- // Returns true if we should apply the cross-site document blocking policy to
- // this renderer process. Currently, we apply the policy only to a renderer
- // process running on a normal page from the web.
- virtual bool ShouldEnableSiteIsolationPolicy() const;
+ // Returns true if we should gather stats during resource loads as if the
+ // cross-site document blocking policy were enabled. Does not actually block
+ // any pages.
+ virtual bool ShouldGatherSiteIsolationStats() const;
// Creates a permission client proxy for in-renderer worker.
virtual blink::WebWorkerContentSettingsClientProxy*
« no previous file with comments | « content/child/site_isolation_policy_unittest.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698