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

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: Fixed unittest 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..31505123e1eb2df1774997a1524c1a658c84a3f5 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 cancel allowed in Public Sessions.";
Devlin 2016/11/15 15:12:02 Maybe rephrase this to "Only the 'cancel' action i
Ivan Šandrk 2016/11/15 16:07:40 Done.
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