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

Side by Side Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.h

Issue 10874029: Adding condition attributes for response headers to Declarative WebRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Constants used for the WebRequest API. 5 // Constants used for the WebRequest API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT S_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT S_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT S_H_ 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT S_H_
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 17 matching lines...) Expand all
28 extern const char kMaxAgeKey[]; 28 extern const char kMaxAgeKey[];
29 extern const char kModificationKey[]; 29 extern const char kModificationKey[];
30 extern const char kNameKey[]; 30 extern const char kNameKey[];
31 extern const char kPathKey[]; 31 extern const char kPathKey[];
32 extern const char kRedirectUrlKey[]; 32 extern const char kRedirectUrlKey[];
33 extern const char kResourceTypeKey[]; 33 extern const char kResourceTypeKey[];
34 extern const char kSecureKey[]; 34 extern const char kSecureKey[];
35 extern const char kToKey[]; 35 extern const char kToKey[];
36 extern const char kUrlKey[]; 36 extern const char kUrlKey[];
37 extern const char kValueKey[]; 37 extern const char kValueKey[];
38 extern const char kResponseHeadersKey[];
39 extern const char kExcludeResponseHeadersKey[];
40 extern const char kNamePrefixKey[];
41 extern const char kNameSuffixKey[];
42 extern const char kNameContainsKey[];
43 extern const char kNameEqualsKey[];
44 extern const char kValuePrefixKey[];
45 extern const char kValueSuffixKey[];
46 extern const char kValueContainsKey[];
47 extern const char kValueEqualsKey[];
38 48
39 // Values of dictionaries, in particular instance types 49 // Values of dictionaries, in particular instance types
40 extern const char kAddRequestCookieType[]; 50 extern const char kAddRequestCookieType[];
41 extern const char kAddResponseCookieType[]; 51 extern const char kAddResponseCookieType[];
42 extern const char kAddResponseHeaderType[]; 52 extern const char kAddResponseHeaderType[];
43 extern const char kCancelRequestType[]; 53 extern const char kCancelRequestType[];
44 extern const char kEditRequestCookieType[]; 54 extern const char kEditRequestCookieType[];
45 extern const char kEditResponseCookieType[]; 55 extern const char kEditResponseCookieType[];
46 extern const char kIgnoreRulesType[]; 56 extern const char kIgnoreRulesType[];
47 extern const char kRedirectByRegExType[]; 57 extern const char kRedirectByRegExType[];
48 extern const char kRedirectRequestType[]; 58 extern const char kRedirectRequestType[];
49 extern const char kRedirectToEmptyDocumentType[]; 59 extern const char kRedirectToEmptyDocumentType[];
50 extern const char kRedirectToTransparentImageType[]; 60 extern const char kRedirectToTransparentImageType[];
51 extern const char kRemoveRequestCookieType[]; 61 extern const char kRemoveRequestCookieType[];
52 extern const char kRemoveRequestHeaderType[]; 62 extern const char kRemoveRequestHeaderType[];
53 extern const char kRemoveResponseCookieType[]; 63 extern const char kRemoveResponseCookieType[];
54 extern const char kRemoveResponseHeaderType[]; 64 extern const char kRemoveResponseHeaderType[];
55 extern const char kRequestMatcherType[]; 65 extern const char kRequestMatcherType[];
56 extern const char kSetRequestHeaderType[]; 66 extern const char kSetRequestHeaderType[];
57 67
58 } // namespace declarative_webrequest_constants 68 } // namespace declarative_webrequest_constants
59 } // namespace extensions 69 } // namespace extensions
60 70
61 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_ 71 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698