diff options
Diffstat (limited to 'chromium/extensions/browser/extension_prefs_scope.h')
-rw-r--r-- | chromium/extensions/browser/extension_prefs_scope.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/extensions/browser/extension_prefs_scope.h b/chromium/extensions/browser/extension_prefs_scope.h new file mode 100644 index 00000000000..a249a3c2d8e --- /dev/null +++ b/chromium/extensions/browser/extension_prefs_scope.h @@ -0,0 +1,27 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ +#define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ + + +namespace extensions { + +// Scope for a preference. +enum ExtensionPrefsScope { + // Regular profile and incognito. + kExtensionPrefsScopeRegular, + // Regular profile only. + kExtensionPrefsScopeRegularOnly, + // Incognito profile; preference is persisted to disk and remains active + // after a browser restart. + kExtensionPrefsScopeIncognitoPersistent, + // Incognito profile; preference is kept in memory and deleted when the + // incognito session is terminated. + kExtensionPrefsScopeIncognitoSessionOnly +}; + +} // namespace extensions + +#endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_ |