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

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

Issue 23842002: Whitelisting exts and plugins from cross-site document blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Exclude plugins from cross-site document data collection/blocking. Created 7 years, 3 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
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 4eea8a3c12830d31f4dc1f0ff8c75a715c8e34ef..22d535ec1a4ed7a69e4555bbee206e994483c247 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -250,6 +250,14 @@ class CONTENT_EXPORT ContentRendererClient {
// and can be external or internal.
virtual bool ShouldReportDetailedMessageForSource(
const base::string16& source) const;
+
+ // Returns true if we apply the cross-site document blocking policy to this
+ // renderer process. Currently, we apply the policy only to a render process
Charlie Reis 2013/09/03 20:22:10 render -> renderer (here and below)
dsjang 2013/09/03 22:31:30 Done.
+ // running on a normal page from the internet, excluding render processes for
Charlie Reis 2013/09/03 20:22:10 internet -> web
dsjang 2013/09/03 22:31:30 Done.
+ // extensions. Unfortunately, there's no easy way to exclude a renderer
Charlie Reis 2013/09/03 20:22:10 nit: Drop "excluding render processes for extensio
dsjang 2013/09/03 22:31:30 Done.
+ // process for plugins here, but our ultimate goal is to exclude plugin
Charlie Reis 2013/09/03 20:22:10 This last sentence is a bit confusing to me. We d
dsjang 2013/09/03 22:31:30 Done.
+ // processes too.
+ virtual bool ShouldEnableSiteIsolationPolicy() const;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698