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

Side by Side Diff: chrome/browser/extensions/extension_webrequest_api_constants.cc

Issue 8662010: Rename chrome.experimental.webRequest to chrome.webRequest and chrome.webRequestBlocking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Regenerated documentation 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_webrequest_api_constants.h" 5 #include "chrome/browser/extensions/extension_webrequest_api_constants.h"
6 6
7 namespace extension_webrequest_api_constants { 7 namespace extension_webrequest_api_constants {
8 8
9 const char kChallengerKey[] = "challenger"; 9 const char kChallengerKey[] = "challenger";
10 const char kErrorKey[] = "error"; 10 const char kErrorKey[] = "error";
(...skipping 17 matching lines...) Expand all
28 const char kHeaderNameKey[] = "name"; 28 const char kHeaderNameKey[] = "name";
29 const char kHeaderValueKey[] = "value"; 29 const char kHeaderValueKey[] = "value";
30 const char kHeaderBinaryValueKey[] = "binaryValue"; 30 const char kHeaderBinaryValueKey[] = "binaryValue";
31 const char kIsProxyKey[] = "isProxy"; 31 const char kIsProxyKey[] = "isProxy";
32 const char kSchemeKey[] = "scheme"; 32 const char kSchemeKey[] = "scheme";
33 const char kRealmKey[] = "realm"; 33 const char kRealmKey[] = "realm";
34 const char kAuthCredentialsKey[] = "authCredentials"; 34 const char kAuthCredentialsKey[] = "authCredentials";
35 const char kUsernameKey[] = "username"; 35 const char kUsernameKey[] = "username";
36 const char kPasswordKey[] = "password"; 36 const char kPasswordKey[] = "password";
37 37
38 const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect"; 38 const char kOnBeforeRedirect[] = "webRequest.onBeforeRedirect";
39 const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest"; 39 const char kOnBeforeRequest[] = "webRequest.onBeforeRequest";
40 const char kOnBeforeSendHeaders[] = 40 const char kOnBeforeSendHeaders[] = "webRequest.onBeforeSendHeaders";
41 "experimental.webRequest.onBeforeSendHeaders"; 41 const char kOnCompleted[] = "webRequest.onCompleted";
42 const char kOnCompleted[] = "experimental.webRequest.onCompleted"; 42 const char kOnErrorOccurred[] = "webRequest.onErrorOccurred";
43 const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred"; 43 const char kOnHeadersReceived[] = "webRequest.onHeadersReceived";
44 const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived"; 44 const char kOnResponseStarted[] = "webRequest.onResponseStarted";
45 const char kOnResponseStarted[] = "experimental.webRequest.onResponseStarted"; 45 const char kOnSendHeaders[] = "webRequest.onSendHeaders";
46 const char kOnSendHeaders[] = "experimental.webRequest.onSendHeaders"; 46 const char kOnAuthRequired[] = "webRequest.onAuthRequired";
47 const char kOnAuthRequired[] = "experimental.webRequest.onAuthRequired";
48 47
49 48
50 const char kInvalidRedirectUrl[] = "redirectUrl '*' is not a valid URL."; 49 const char kInvalidRedirectUrl[] = "redirectUrl '*' is not a valid URL.";
51 const char kInvalidBlockingResponse[] = 50 const char kInvalidBlockingResponse[] =
52 "cancel cannot be true in the presence of other keys."; 51 "cancel cannot be true in the presence of other keys.";
53 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern."; 52 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern.";
53 const char kBlockingPermissionRequired[] =
54 "You do not have permission to use blocking webRequest listeners. "
55 "Be sure to declare the webRequestBlocking permission in your "
56 "manifest.";
54 57
55 } // namespace extension_webrequest_api_constants 58 } // namespace extension_webrequest_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698