OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ |
| 7 #pragma once |
| 8 |
| 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 |
| 11 namespace extension_prefs_scope { |
| 12 |
| 13 // Scope for a preference. |
| 14 enum Scope { |
| 15 // Regular profile. |
| 16 kRegular, |
| 17 // Incognito profile; preference is persisted to disk and remains active |
| 18 // after a browser restart. |
| 19 kIncognitoPersistent, |
| 20 // TODO(battre): add kIncognitoSession |
| 21 }; |
| 22 |
| 23 } // extension_prefs_scope |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_SCOPE_H_ |
OLD | NEW |