blob: 42ec69e85fd8cadb970e528760505e9d5f9e181d (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
// 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_management_api_constants.h"
namespace extension_management_api_constants {
const char kAppLaunchUrlKey[] = "appLaunchUrl";
const char kDescriptionKey[] = "description";
const char kEnabledKey[] = "enabled";
const char kDisabledReasonKey[] = "disabledReason";
const char kHomepageUrlKey[] = "homepageUrl";
const char kIconsKey[] = "icons";
const char kIdKey[] = "id";
const char kIsAppKey[] = "isApp";
const char kNameKey[] = "name";
const char kOfflineEnabledKey[] = "offlineEnabled";
const char kOptionsUrlKey[] = "optionsUrl";
const char kPermissionsKey[] = "permissions";
const char kMayDisableKey[] = "mayDisable";
const char kSizeKey[] = "size";
const char kUpdateUrlKey[] = "updateUrl";
const char kUrlKey[] = "url";
const char kVersionKey[] = "version";
const char kDisabledReasonPermissionsIncrease[] = "permissions_increase";
const char kDisabledReasonUnknown[] = "unknown";
const char kExtensionCreateError[] =
"Failed to create extension from manifest.";
const char kGestureNeededForEscalationError[] =
"Re-enabling an extension disabled due to permissions increase "
"requires a user gesture";
const char kManifestParseError[] = "Failed to parse manifest.";
const char kNoExtensionError[] = "Failed to find extension with id *";
const char kNotAnAppError[] = "Extension * is not an App";
const char kUserCantDisableError[] = "Extension * can not be disabled by user";
const char kUserDidNotReEnableError[] =
"The user did not accept the re-enable dialog";
} // namespace extension_management_api_constants
|