summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_content_settings_api_constants.cc
blob: c01b3c9006f29dd49b683aac2f50195644be10ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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