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

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

Issue 10381097: Move content settings extension API to content_settings dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed conflict Created 8 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
Index: chrome/browser/extensions/extension_content_settings_api_constants.cc
diff --git a/chrome/browser/extensions/extension_content_settings_api_constants.cc b/chrome/browser/extensions/extension_content_settings_api_constants.cc
deleted file mode 100644
index c01b3c9006f29dd49b683aac2f50195644be10ec..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_content_settings_api_constants.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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.
-
-#include "chrome/browser/extensions/extension_content_settings_api_constants.h"
-
-namespace extension_content_settings_api_constants {
-
-// Keys.
-const char kContentSettingKey[] = "setting";
-const char kContentSettingsTypeKey[] = "type";
-const char kDescriptionKey[] = "description";
-const char kIdKey[] = "id";
-const char kPatternKey[] = "pattern";
-const char kPrimaryPatternKey[] = "primaryPattern";
-const char kPrimaryUrlKey[] = "primaryUrl";
-const char kResourceIdentifierKey[] = "resourceIdentifier";
-const char kRuleKey[] = "rule";
-const char kSecondaryPatternKey[] = "secondaryPattern";
-const char kSecondaryUrlKey[] = "secondaryUrl";
-
-// Errors.
-const char kIncognitoContextError[] =
- "Can't modify regular settings from an incognito context.";
-const char kIncognitoSessionOnlyError[] =
- "You cannot read incognito content settings when no incognito window "
- "is open.";
-const char kInvalidUrlError[] = "The URL \"*\" is invalid.";
-
-} // extension_content_settings_api_constants

Powered by Google App Engine
This is Rietveld 408576698