Add a UsbService::Observer function for cleanup actions.
[chromium-blink-merge.git] / extensions / browser / extension_prefs_scope.h
blob3747ee817fbe8352a04b2d66b25c5b2855a6f184
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
8 #include "base/basictypes.h"
10 namespace extensions {
12 // Scope for a preference.
13 enum ExtensionPrefsScope {
14 // Regular profile and incognito.
15 kExtensionPrefsScopeRegular,
16 // Regular profile only.
17 kExtensionPrefsScopeRegularOnly,
18 // Incognito profile; preference is persisted to disk and remains active
19 // after a browser restart.
20 kExtensionPrefsScopeIncognitoPersistent,
21 // Incognito profile; preference is kept in memory and deleted when the
22 // incognito session is terminated.
23 kExtensionPrefsScopeIncognitoSessionOnly
26 } // namespace extensions
28 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_