OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/extensions/extension_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
6 #include "chrome/common/extensions/extension_manifest_constants.h" | 6 #include "chrome/common/extensions/extension_manifest_constants.h" |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; | 78 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; |
79 | 79 |
80 const char kGeneratedBackgroundPageFilename[] = | 80 const char kGeneratedBackgroundPageFilename[] = |
81 "_generated_background_page.html"; | 81 "_generated_background_page.html"; |
82 } | 82 } |
83 | 83 |
84 // These must match the values expected by the chrome.management extension API. | 84 // These must match the values expected by the chrome.management extension API. |
85 namespace extension_info_keys { | 85 namespace extension_info_keys { |
86 const char kDescriptionKey[] = "description"; | 86 const char kDescriptionKey[] = "description"; |
87 const char kEnabledKey[] = "enabled"; | 87 const char kEnabledKey[] = "enabled"; |
| 88 const char kHomepageProvidedKey[] = "homepageProvided"; |
88 const char kHomepageUrlKey[] = "homepageUrl"; | 89 const char kHomepageUrlKey[] = "homepageUrl"; |
89 const char kIdKey[] = "id"; | 90 const char kIdKey[] = "id"; |
90 const char kMayDisableKey[] = "mayDisable"; | 91 const char kMayDisableKey[] = "mayDisable"; |
91 const char kNameKey[] = "name"; | 92 const char kNameKey[] = "name"; |
92 const char kOfflineEnabledKey[] = "offlineEnabled"; | 93 const char kOfflineEnabledKey[] = "offlineEnabled"; |
93 const char kOptionsUrlKey[] = "optionsUrl"; | 94 const char kOptionsUrlKey[] = "optionsUrl"; |
94 const char kVersionKey[] = "version"; | 95 const char kVersionKey[] = "version"; |
95 } | 96 } |
96 | 97 |
97 namespace extension_misc { | 98 namespace extension_misc { |
(...skipping 11 matching lines...) Expand all Loading... |
109 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; | 110 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; |
110 #if defined(OS_CHROMEOS) | 111 #if defined(OS_CHROMEOS) |
111 const char kAccessExtensionPath[] = | 112 const char kAccessExtensionPath[] = |
112 "/usr/share/chromeos-assets/accessibility/extensions"; | 113 "/usr/share/chromeos-assets/accessibility/extensions"; |
113 const char kChromeVoxDirectoryName[] = "access_chromevox"; | 114 const char kChromeVoxDirectoryName[] = "access_chromevox"; |
114 #endif | 115 #endif |
115 const char kAppNotificationsIncognitoError[] = | 116 const char kAppNotificationsIncognitoError[] = |
116 "This API is not accessible by 'split' mode " | 117 "This API is not accessible by 'split' mode " |
117 "extensions in incognito windows."; | 118 "extensions in incognito windows."; |
118 } | 119 } |
OLD | NEW |