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 19 matching lines...) Expand all Loading... |
117 const char kAppStateInstalled[] = "installed"; | 118 const char kAppStateInstalled[] = "installed"; |
118 const char kAppStateDisabled[] = "disabled"; | 119 const char kAppStateDisabled[] = "disabled"; |
119 const char kAppStateRunning[] = "running"; | 120 const char kAppStateRunning[] = "running"; |
120 const char kAppStateCannotRun[] = "cannot_run"; | 121 const char kAppStateCannotRun[] = "cannot_run"; |
121 const char kAppStateReadyToRun[] = "ready_to_run"; | 122 const char kAppStateReadyToRun[] = "ready_to_run"; |
122 | 123 |
123 const char kAppNotificationsIncognitoError[] = | 124 const char kAppNotificationsIncognitoError[] = |
124 "This API is not accessible by 'split' mode " | 125 "This API is not accessible by 'split' mode " |
125 "extensions in incognito windows."; | 126 "extensions in incognito windows."; |
126 } | 127 } |
OLD | NEW |