Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1109)

Unified Diff: chrome/browser/extensions/extension_prefs_scope.h

Issue 7065033: Support persistent incognito preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs_scope.h
diff --git a/chrome/browser/extensions/extension_prefs_scope.h b/chrome/browser/extensions/extension_prefs_scope.h
new file mode 100644
index 0000000000000000000000000000000000000000..64472343e9dc9c5a8028133aec32e561451f047d
--- /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_
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698