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

Side by Side 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 unified diff | Download patch
OLDNEW
(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 #include "chrome/browser/extensions/extension_content_settings_api_constants.h"
6
7 namespace extension_content_settings_api_constants {
8
9 // Keys.
10 const char kContentSettingKey[] = "setting";
11 const char kContentSettingsTypeKey[] = "type";
12 const char kDescriptionKey[] = "description";
13 const char kIdKey[] = "id";
14 const char kPatternKey[] = "pattern";
15 const char kPrimaryPatternKey[] = "primaryPattern";
16 const char kPrimaryUrlKey[] = "primaryUrl";
17 const char kResourceIdentifierKey[] = "resourceIdentifier";
18 const char kRuleKey[] = "rule";
19 const char kSecondaryPatternKey[] = "secondaryPattern";
20 const char kSecondaryUrlKey[] = "secondaryUrl";
21
22 // Errors.
23 const char kIncognitoContextError[] =
24 "Can't modify regular settings from an incognito context.";
25 const char kIncognitoSessionOnlyError[] =
26 "You cannot read incognito content settings when no incognito window "
27 "is open.";
28 const char kInvalidUrlError[] = "The URL \"*\" is invalid.";
29
30 } // extension_content_settings_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698