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.
4
5#ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
6#define EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
7
8#include "base/basictypes.h"
9
10namespace extensions {
11
12// Scope for a preference.
13enum 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
24};
25
26}  // namespace extensions
27
28#endif  // EXTENSIONS_BROWSER_EXTENSION_PREFS_SCOPE_H_
29