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

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

Issue 10386172: Implemented declarative redirects to transparent image and empty document. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 8 years, 7 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 kResourceTypeKey[]; 20 extern const char kResourceTypeKey[];
21 extern const char kUrlKey[]; 21 extern const char kUrlKey[];
22 22
23 // Values of dictionaries, in particular instance types 23 // Values of dictionaries, in particular instance types
24 extern const char kCancelRequestType[]; 24 extern const char kCancelRequestType[];
25 extern const char kRedirectRequestType[]; 25 extern const char kRedirectRequestType[];
26 extern const char kRedirectToEmptyDocumentType[];
27 extern const char kRedirectToTransparentImageType[];
26 extern const char kRequestMatcherType[]; 28 extern const char kRequestMatcherType[];
27 29
28 } // namespace declarative_webrequest_constants 30 } // namespace declarative_webrequest_constants
29 } // namespace extensions 31 } // namespace extensions
30 32
31 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_ 33 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST ANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698