summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs_scope.h
blob: 66343e47304ea587571092261c95390b9585a31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_

#include "base/basictypes.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  // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_