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

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

Issue 10012004: Implemented proper support for checking schemes and requested resource types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed 'scheme' to 'schemes' Created 8 years, 8 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 #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 kRedirectUrlKey[]; 19 extern const char kRedirectUrlKey[];
20 extern const char kSchemeKey[]; 20 extern const char kResourceTypeKey[];
21 extern const char kSchemesKey[];
21 22
22 // Values of dictionaries, in particular instance types 23 // Values of dictionaries, in particular instance types
23 extern const char kCancelRequestType[]; 24 extern const char kCancelRequestType[];
24 extern const char kRedirectRequestType[]; 25 extern const char kRedirectRequestType[];
25 extern const char kRequestMatcherType[]; 26 extern const char kRequestMatcherType[];
26 27
27 } // namespace declarative_webrequest_constants 28 } // namespace declarative_webrequest_constants
28 } // namespace extensions 29 } // namespace extensions
29 30
30 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_ 31 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698