| OLD | NEW |
| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace extensions { | 11 namespace extensions { |
| 12 namespace declarative_webrequest_constants { | 12 namespace declarative_webrequest_constants { |
| 13 | 13 |
| 14 // Signals to which WebRequestRulesRegistries are registered. | 14 // Signals to which WebRequestRulesRegistries are registered. |
| 15 extern const char kOnRequest[]; | 15 extern const char kOnRequest[]; |
| 16 | 16 |
| 17 // Keys of dictionaries. | 17 // Keys of dictionaries. |
| 18 extern const char kInstanceTypeKey[]; | 18 extern const char kInstanceTypeKey[]; |
| 19 extern const char kPortsKey[]; |
| 19 extern const char kRedirectUrlKey[]; | 20 extern const char kRedirectUrlKey[]; |
| 20 extern const char kResourceTypeKey[]; | 21 extern const char kResourceTypeKey[]; |
| 21 extern const char kSchemesKey[]; | 22 extern const char kSchemesKey[]; |
| 22 | 23 |
| 23 // Values of dictionaries, in particular instance types | 24 // Values of dictionaries, in particular instance types |
| 24 extern const char kCancelRequestType[]; | 25 extern const char kCancelRequestType[]; |
| 25 extern const char kRedirectRequestType[]; | 26 extern const char kRedirectRequestType[]; |
| 26 extern const char kRequestMatcherType[]; | 27 extern const char kRequestMatcherType[]; |
| 27 | 28 |
| 28 } // namespace declarative_webrequest_constants | 29 } // namespace declarative_webrequest_constants |
| 29 } // namespace extensions | 30 } // namespace extensions |
| 30 | 31 |
| 31 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ | 32 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ |
| OLD | NEW |