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

Unified Diff: extensions/browser/api/web_request/web_request_api_constants.cc

Issue 2455393002: PS - Adjusting webRequest API for use in Public Sessions (Closed)
Patch Set: webRequest and webRequestBlocking are safe permissions now 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_api_constants.cc
diff --git a/extensions/browser/api/web_request/web_request_api_constants.cc b/extensions/browser/api/web_request/web_request_api_constants.cc
index fd10ca182dfa79d7d66fefe362e0249790a6b7a3..7b464eef7b7f545c3b0da54d2828304587365728 100644
--- a/extensions/browser/api/web_request/web_request_api_constants.cc
+++ b/extensions/browser/api/web_request/web_request_api_constants.cc
@@ -62,6 +62,8 @@ const char kOnResponseStarted[] = "onResponseStarted";
const char kOnSendHeaders[] = "onSendHeaders";
const char kOnAuthRequired[] = "onAuthRequired";
+const char kInvalidPublicSessionBlockingResponse[] =
+ "Only the 'cancel' action is allowed in Public Sessions.";
const char kInvalidRedirectUrl[] = "redirectUrl '*' is not a valid URL.";
const char kInvalidBlockingResponse[] =
"cancel cannot be true in the presence of other keys.";

Powered by Google App Engine
This is Rietveld 408576698