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

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

Issue 2455393002: PS - Adjusting webRequest API for use in Public Sessions (Closed)
Patch Set: Updated code Created 4 years, 1 month 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 02c98ca4f14f92da76587d4df893ad0d4e35cc64..32597d78ca10ee748f00156a2e18153658812286 100644
--- a/extensions/browser/api/web_request/web_request_permissions.h
+++ b/extensions/browser/api/web_request/web_request_permissions.h
@@ -49,6 +49,10 @@ class WebRequestPermissions {
HostPermissionsCheck host_permissions_check);
private:
+ FRIEND_TEST_ALL_PREFIXES(ExtensionWebRequestApiTest, WebRequestPublicSession);
+
+ static bool allow_all_extensions_in_public_sessions_;
Ivan Šandrk 2016/11/14 20:16:13 Added the runtime bool like this, but I'm unable t
Devlin 2016/11/15 01:19:37 Hmm... I can't think of why that would be - it see
Ivan Šandrk 2016/11/15 13:49:58 Got it working in a bit different way (suggestion
+
DISALLOW_IMPLICIT_CONSTRUCTORS(WebRequestPermissions);
};

Powered by Google App Engine
This is Rietveld 408576698