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. 4 5 #include "chrome/browser/extensions/api/content_settings/content_settings_api_constants.h" 6 7 namespace extensions { 8 namespace content_settings_api_constants { 9 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"; 18 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."; 26 27 } // namespace content_settings_api_constants 28 } // namespace extensions 29