blob: a249a3c2d8e2cf4525d13539743e8bc2caa98d7b [file] [log] [blame]
[email protected]6d8a0b092013-06-12 20:54:131// Copyright 2013 The Chromium Authors. All rights reserved.
[email protected]9783c162011-05-25 21:45:512// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]6d8a0b092013-06-12 20:54:135#ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
6#define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
[email protected]9783c162011-05-25 21:45:517
[email protected]9783c162011-05-25 21:45:518
[email protected]45759612012-07-10 17:21:239namespace extensions {
10
[email protected]9783c162011-05-25 21:45:5111// Scope for a preference.
[email protected]dece9a62011-06-07 17:38:5912enum ExtensionPrefsScope {
[email protected]7d3a0e32012-06-14 22:37:2913 // Regular profile and incognito.
[email protected]dece9a62011-06-07 17:38:5914 kExtensionPrefsScopeRegular,
[email protected]7d3a0e32012-06-14 22:37:2915 // Regular profile only.
16 kExtensionPrefsScopeRegularOnly,
[email protected]9783c162011-05-25 21:45:5117 // Incognito profile; preference is persisted to disk and remains active
18 // after a browser restart.
[email protected]dece9a62011-06-07 17:38:5919 kExtensionPrefsScopeIncognitoPersistent,
[email protected]31685742011-05-25 23:01:5620 // Incognito profile; preference is kept in memory and deleted when the
21 // incognito session is terminated.
[email protected]dece9a62011-06-07 17:38:5922 kExtensionPrefsScopeIncognitoSessionOnly
[email protected]9783c162011-05-25 21:45:5123};
24
[email protected]45759612012-07-10 17:21:2325} // namespace extensions
26
[email protected]6d8a0b092013-06-12 20:54:1327#endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_