Revert 285173 "Removed InProcessBrowserTest::CleanUpOnMainThread()"
[chromium-blink-merge.git] / chrome / browser / extensions / api / content_settings / content_settings_api_constants.cc
blobefd89b9c28398fb5c68af17fb33568a96c9bbb4f
1 // Copyright (c) 2012 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.
5 #include "chrome/browser/extensions/api/content_settings/content_settings_api_constants.h"
7 namespace extensions {
8 namespace content_settings_api_constants {
10 // Keys.
11 const char kContentSettingKey[] = "setting";
12 const char kContentSettingsTypeKey[] = "type";
13 const char kDescriptionKey[] = "description";
14 const char kIdKey[] = "id";
15 const char kPrimaryPatternKey[] = "primaryPattern";
16 const char kResourceIdentifierKey[] = "resourceIdentifier";
17 const char kSecondaryPatternKey[] = "secondaryPattern";
19 // Errors.
20 const char kIncognitoContextError[] =
21 "Can't modify regular settings from an incognito context.";
22 const char kIncognitoSessionOnlyError[] =
23 "You cannot read incognito content settings when no incognito window "
24 "is open.";
25 const char kInvalidUrlError[] = "The URL \"*\" is invalid.";
27 } // namespace content_settings_api_constants
28 } // namespace extensions