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

Side by Side Diff: chrome/browser/extensions/api/content_settings/content_settings_api_constants.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 Content Settings API. 5 // Constants used for the Content Settings API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONS TANTS_H__ 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONS TANTS_H__
8 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONS TANTS_H__ 8 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONS TANTS_H__
9 #pragma once
10 9
11 namespace extensions { 10 namespace extensions {
12 namespace content_settings_api_constants { 11 namespace content_settings_api_constants {
13 12
14 // Keys. 13 // Keys.
15 extern const char kContentSettingKey[]; 14 extern const char kContentSettingKey[];
16 extern const char kContentSettingsTypeKey[]; 15 extern const char kContentSettingsTypeKey[];
17 extern const char kDescriptionKey[]; 16 extern const char kDescriptionKey[];
18 extern const char kIdKey[]; 17 extern const char kIdKey[];
19 extern const char kPatternKey[]; 18 extern const char kPatternKey[];
20 extern const char kPrimaryPatternKey[]; 19 extern const char kPrimaryPatternKey[];
21 extern const char kResourceIdentifierKey[]; 20 extern const char kResourceIdentifierKey[];
22 extern const char kRuleKey[]; 21 extern const char kRuleKey[];
23 extern const char kSecondaryPatternKey[]; 22 extern const char kSecondaryPatternKey[];
24 23
25 // Errors. 24 // Errors.
26 extern const char kIncognitoContextError[]; 25 extern const char kIncognitoContextError[];
27 extern const char kIncognitoSessionOnlyError[]; 26 extern const char kIncognitoSessionOnlyError[];
28 extern const char kInvalidUrlError[]; 27 extern const char kInvalidUrlError[];
29 28
30 } 29 }
31 } // namespace extensions 30 } // namespace extensions
32 31
33 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_C ONSTANTS_H__ 32 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_C ONSTANTS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698