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

Unified Diff: chrome/browser/extensions/extension_preference_api_constants.cc

Issue 10952021: Moving preference API into api/preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
Index: chrome/browser/extensions/extension_preference_api_constants.cc
diff --git a/chrome/browser/extensions/extension_preference_api_constants.cc b/chrome/browser/extensions/extension_preference_api_constants.cc
deleted file mode 100644
index 7d08cdc8699e2fefab74872e0143cd9a59a26794..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_preference_api_constants.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "chrome/browser/extensions/extension_preference_api_constants.h"
-
-namespace extension_preference_api_constants {
-
-const char kIncognitoKey[] = "incognito";
-
-const char kScopeKey[] = "scope";
-
-const char kIncognitoSpecific[] = "incognitoSpecific";
-const char kLevelOfControl[] = "levelOfControl";
-const char kValue[] = "value";
-
-const char kIncognitoErrorMessage[] =
- "You do not have permission to access incognito preferences.";
-
-const char kIncognitoSessionOnlyErrorMessage[] =
- "You cannot set a preference with scope 'incognito_session_only' when no "
- "incognito window is open.";
-
-const char kPermissionErrorMessage[] =
- "You do not have permission to access the preference '*'. "
- "Be sure to declare in your manifest what permissions you need.";
-
-} // extension_preference_api_constants

Powered by Google App Engine
This is Rietveld 408576698