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

Side by Side Diff: chrome/browser/extensions/extension_content_settings_api_constants.h

Issue 7029031: Content settings extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync & review Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 Content Settings API. 5 // Constants used for the Content Settings API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__ 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__ 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__
9 #pragma once 9 #pragma once
10 10
11 namespace extension_content_settings_api_constants { 11 namespace extension_content_settings_api_constants {
12 12
13 // Keys. 13 // Keys.
14 extern const char kContentSettingKey[]; 14 extern const char kContentSettingKey[];
15 extern const char kContentSettingsTypeKey[]; 15 extern const char kContentSettingsTypeKey[];
16 extern const char kDescriptionKey[]; 16 extern const char kDescriptionKey[];
17 extern const char kEmbeddedPatternKey[]; 17 extern const char kEmbeddedPatternKey[];
18 extern const char kEmbeddedUrlKey[]; 18 extern const char kEmbeddedUrlKey[];
19 extern const char kIdKey[]; 19 extern const char kIdKey[];
20 extern const char kIncognitoKey[]; 20 extern const char kPatternKey[];
21 extern const char kOnlyNonDefaultKey[];
22 extern const char kResourceIdentifierKey[]; 21 extern const char kResourceIdentifierKey[];
23 extern const char kRuleKey[]; 22 extern const char kRuleKey[];
24 extern const char kTopLevelPatternKey[]; 23 extern const char kTopLevelPatternKey[];
25 extern const char kUrlKey[]; 24 extern const char kTopLevelUrlKey[];
26 25
27 // Errors. 26 // Errors.
28 extern const char kInvalidContentSettingError[]; 27 extern const char kIncognitoContextError[];
28 extern const char kIncognitoSessionOnlyError[];
29 extern const char kInvalidUrlError[]; 29 extern const char kInvalidUrlError[];
30 30
31 } 31 }
32 32
33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H_ _ 33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H_ _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698