summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_prefs_scope.h
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 21:45:51 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 21:45:51 +0000
commit9783c1681d454d42217f81086d07e20327c068ce (patch)
tree306ae1cd1fa69ecdf60c28dbbb692b458a1c90ab /chrome/browser/extensions/extension_prefs_scope.h
parentedee3faf1cbf22b074a0c95304a37d22246ccf32 (diff)
downloadchromium_src-9783c1681d454d42217f81086d07e20327c068ce.zip
chromium_src-9783c1681d454d42217f81086d07e20327c068ce.tar.gz
chromium_src-9783c1681d454d42217f81086d07e20327c068ce.tar.bz2
Support persistent incognito preferences
BUG=no TEST=no Review URL: http://codereview.chromium.org/7065033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_prefs_scope.h')
-rw-r--r--chrome/browser/extensions/extension_prefs_scope.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs_scope.h b/chrome/browser/extensions/extension_prefs_scope.h
new file mode 100644
index 0000000..6447234
--- /dev/null
+++ b/chrome/browser/extensions/extension_prefs_scope.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2011 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_
+#pragma once
+
+// TODO(battre): get rid of this namespace, see
+// http://codereview.chromium.org/7065033/diff/3003/chrome/browser/extensions/extension_prefs_scope.h
+namespace extension_prefs_scope {
+
+// Scope for a preference.
+enum Scope {
+ // Regular profile.
+ kRegular,
+ // Incognito profile; preference is persisted to disk and remains active
+ // after a browser restart.
+ kIncognitoPersistent,
+ // TODO(battre): add kIncognitoSession
+};
+
+} // extension_prefs_scope
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_