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

Side by Side Diff: chrome/browser/extensions/extension_prefs_scope.h

Issue 7067040: Enable incognito_session_only preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_
7 #pragma once 7 #pragma once
8 8
9 // TODO(battre): get rid of this namespace, see 9 // TODO(battre): get rid of this namespace, see
10 // http://codereview.chromium.org/7065033/diff/3003/chrome/browser/extensions/ex tension_prefs_scope.h 10 // http://codereview.chromium.org/7065033/diff/3003/chrome/browser/extensions/ex tension_prefs_scope.h
11 namespace extension_prefs_scope { 11 namespace extension_prefs_scope {
12 12
13 // Scope for a preference. 13 // Scope for a preference.
14 enum Scope { 14 enum Scope {
15 // Regular profile. 15 // Regular profile.
16 kRegular, 16 kRegular,
17 // Incognito profile; preference is persisted to disk and remains active 17 // Incognito profile; preference is persisted to disk and remains active
18 // after a browser restart. 18 // after a browser restart.
19 kIncognitoPersistent, 19 kIncognitoPersistent,
20 // TODO(battre): add kIncognitoSession 20 // Incognito profile; preference is kept in memory and deleted when the
21 // incognito session is terminated.
22 kIncognitoSessionOnly
21 }; 23 };
22 24
23 } // extension_prefs_scope 25 } // extension_prefs_scope
24 26
25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ 27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_preference_api.cc ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698