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

Side by Side Diff: extensions/browser/extension_prefs_scope.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 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
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/browser/extension_protocols.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
7 7
8 #include "base/basictypes.h"
9 8
10 namespace extensions { 9 namespace extensions {
11 10
12 // Scope for a preference. 11 // Scope for a preference.
13 enum ExtensionPrefsScope { 12 enum ExtensionPrefsScope {
14 // Regular profile and incognito. 13 // Regular profile and incognito.
15 kExtensionPrefsScopeRegular, 14 kExtensionPrefsScopeRegular,
16 // Regular profile only. 15 // Regular profile only.
17 kExtensionPrefsScopeRegularOnly, 16 kExtensionPrefsScopeRegularOnly,
18 // Incognito profile; preference is persisted to disk and remains active 17 // Incognito profile; preference is persisted to disk and remains active
19 // after a browser restart. 18 // after a browser restart.
20 kExtensionPrefsScopeIncognitoPersistent, 19 kExtensionPrefsScopeIncognitoPersistent,
21 // Incognito profile; preference is kept in memory and deleted when the 20 // Incognito profile; preference is kept in memory and deleted when the
22 // incognito session is terminated. 21 // incognito session is terminated.
23 kExtensionPrefsScopeIncognitoSessionOnly 22 kExtensionPrefsScopeIncognitoSessionOnly
24 }; 23 };
25 24
26 } // namespace extensions 25 } // namespace extensions
27 26
28 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ 27 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/browser/extension_protocols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698