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

Unified Diff: extensions/browser/api/web_request/web_request_permissions.h

Issue 2845943003: Limit protection of clients[0-9]*.google.com to requests from browser. (Closed)
Patch Set: Hide requests from WebUI Created 3 years, 7 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: extensions/browser/api/web_request/web_request_permissions.h
diff --git a/extensions/browser/api/web_request/web_request_permissions.h b/extensions/browser/api/web_request/web_request_permissions.h
index f708355592f37347aa6bc26686fb398622fa0eca..7c1867e8ec8f6a218ca999790ad8b2e6a71953ae 100644
--- a/extensions/browser/api/web_request/web_request_permissions.h
+++ b/extensions/browser/api/web_request/web_request_permissions.h
@@ -23,7 +23,7 @@ class URLRequest;
}
// Exposed for unit testing.
-bool IsSensitiveURL(const GURL& url);
+bool IsSensitiveURL(const GURL& url, bool is_request_from_renderer);
// This class is used to test whether extensions may modify web requests.
class WebRequestPermissions {

Powered by Google App Engine
This is Rietveld 408576698