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

Unified Diff: chrome/browser/extensions/extension_webrequest_api_constants.cc

Issue 8931006: WebRequest API should warn when a developer attempts to filter URLs without proper permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « chrome/browser/extensions/extension_webrequest_api_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webrequest_api_constants.cc
diff --git a/chrome/browser/extensions/extension_webrequest_api_constants.cc b/chrome/browser/extensions/extension_webrequest_api_constants.cc
index 985fe61f460fc806b6787e3091280b3c0a424a58..a96987fecdc82ba55480b4245672d9fab9f78986 100644
--- a/chrome/browser/extensions/extension_webrequest_api_constants.cc
+++ b/chrome/browser/extensions/extension_webrequest_api_constants.cc
@@ -51,8 +51,11 @@ const char kInvalidBlockingResponse[] =
"cancel cannot be true in the presence of other keys.";
const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern.";
const char kBlockingPermissionRequired[] =
- "You do not have permission to use blocking webRequest listeners. "
- "Be sure to declare the webRequestBlocking permission in your "
- "manifest.";
+ "You do not have permission to use blocking webRequest listeners. "
+ "Be sure to declare the webRequestBlocking permission in your "
+ "manifest.";
+const char kHostPermissionsRequired[] =
+ "You need to request host permissions in the manifest file in order to "
+ "be notified about requests from the webRequest API.";
} // namespace extension_webrequest_api_constants
« no previous file with comments | « chrome/browser/extensions/extension_webrequest_api_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698