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

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

Issue 10982044: Adding thirdParty property to RequestMatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reordered the unit-test to spare setting up some URLs. Created 8 years, 2 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 {
11 namespace declarative_webrequest_constants { 11 namespace declarative_webrequest_constants {
12 12
13 // Signals to which WebRequestRulesRegistries are registered. 13 // Signals to which WebRequestRulesRegistries are registered.
14 extern const char kOnRequest[]; 14 extern const char kOnRequest[];
15 15
16 // Keys of dictionaries. 16 // Keys of dictionaries.
17 extern const char kAgeLowerBoundKey[]; 17 extern const char kAgeLowerBoundKey[];
18 extern const char kAgeUpperBoundKey[]; 18 extern const char kAgeUpperBoundKey[];
19 extern const char kCookieKey[]; 19 extern const char kCookieKey[];
20 extern const char kContentTypeKey[]; 20 extern const char kContentTypeKey[];
21 extern const char kDirectionKey[]; 21 extern const char kDirectionKey[];
22 extern const char kDomainKey[]; 22 extern const char kDomainKey[];
23 extern const char kExcludeContentTypeKey[]; 23 extern const char kExcludeContentTypeKey[];
24 extern const char kExcludeResponseHeadersKey[];
24 extern const char kExpiresKey[]; 25 extern const char kExpiresKey[];
25 extern const char kFilterKey[]; 26 extern const char kFilterKey[];
26 extern const char kFromKey[]; 27 extern const char kFromKey[];
27 extern const char kHttpOnlyKey[]; 28 extern const char kHttpOnlyKey[];
28 extern const char kInstanceTypeKey[]; 29 extern const char kInstanceTypeKey[];
29 extern const char kLowerPriorityThanKey[]; 30 extern const char kLowerPriorityThanKey[];
30 extern const char kMaxAgeKey[]; 31 extern const char kMaxAgeKey[];
31 extern const char kModificationKey[]; 32 extern const char kModificationKey[];
33 extern const char kNameContainsKey[];
34 extern const char kNameEqualsKey[];
32 extern const char kNameKey[]; 35 extern const char kNameKey[];
36 extern const char kNamePrefixKey[];
37 extern const char kNameSuffixKey[];
33 extern const char kPathKey[]; 38 extern const char kPathKey[];
34 extern const char kRedirectUrlKey[]; 39 extern const char kRedirectUrlKey[];
35 extern const char kResourceTypeKey[]; 40 extern const char kResourceTypeKey[];
41 extern const char kResponseHeadersKey[];
36 extern const char kSecureKey[]; 42 extern const char kSecureKey[];
43 extern const char kSessionCookieKey[];
44 extern const char kThirdPartyKey[];
37 extern const char kToKey[]; 45 extern const char kToKey[];
38 extern const char kUrlKey[]; 46 extern const char kUrlKey[];
47 extern const char kValueContainsKey[];
48 extern const char kValueEqualsKey[];
39 extern const char kValueKey[]; 49 extern const char kValueKey[];
40 extern const char kResponseHeadersKey[];
41 extern const char kExcludeResponseHeadersKey[];
42 extern const char kNamePrefixKey[];
43 extern const char kNameSuffixKey[];
44 extern const char kNameContainsKey[];
45 extern const char kNameEqualsKey[];
46 extern const char kSessionCookieKey[];
47 extern const char kValuePrefixKey[]; 50 extern const char kValuePrefixKey[];
48 extern const char kValueSuffixKey[]; 51 extern const char kValueSuffixKey[];
49 extern const char kValueContainsKey[];
50 extern const char kValueEqualsKey[];
51 52
52 // Values of dictionaries, in particular instance types 53 // Values of dictionaries, in particular instance types
53 extern const char kAddRequestCookieType[]; 54 extern const char kAddRequestCookieType[];
54 extern const char kAddResponseCookieType[]; 55 extern const char kAddResponseCookieType[];
55 extern const char kAddResponseHeaderType[]; 56 extern const char kAddResponseHeaderType[];
56 extern const char kCancelRequestType[]; 57 extern const char kCancelRequestType[];
57 extern const char kEditRequestCookieType[]; 58 extern const char kEditRequestCookieType[];
58 extern const char kEditResponseCookieType[]; 59 extern const char kEditResponseCookieType[];
59 extern const char kIgnoreRulesType[]; 60 extern const char kIgnoreRulesType[];
60 extern const char kRedirectByRegExType[]; 61 extern const char kRedirectByRegExType[];
61 extern const char kRedirectRequestType[]; 62 extern const char kRedirectRequestType[];
62 extern const char kRedirectToEmptyDocumentType[]; 63 extern const char kRedirectToEmptyDocumentType[];
63 extern const char kRedirectToTransparentImageType[]; 64 extern const char kRedirectToTransparentImageType[];
64 extern const char kRemoveRequestCookieType[]; 65 extern const char kRemoveRequestCookieType[];
65 extern const char kRemoveRequestHeaderType[]; 66 extern const char kRemoveRequestHeaderType[];
66 extern const char kRemoveResponseCookieType[]; 67 extern const char kRemoveResponseCookieType[];
67 extern const char kRemoveResponseHeaderType[]; 68 extern const char kRemoveResponseHeaderType[];
68 extern const char kRequestMatcherType[]; 69 extern const char kRequestMatcherType[];
69 extern const char kSetRequestHeaderType[]; 70 extern const char kSetRequestHeaderType[];
70 71
71 } // namespace declarative_webrequest_constants 72 } // namespace declarative_webrequest_constants
72 } // namespace extensions 73 } // namespace extensions
73 74
74 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_ 75 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698