From 9783c1681d454d42217f81086d07e20327c068ce Mon Sep 17 00:00:00 2001 From: "battre@chromium.org" Date: Wed, 25 May 2011 21:45:51 +0000 Subject: 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 --- chrome/browser/extensions/extension_prefs_scope.h | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 chrome/browser/extensions/extension_prefs_scope.h (limited to '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 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_ -- cgit v1.1