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"; | |
89 const char kHomepageUrlKey[] = "homepageUrl"; | 88 const char kHomepageUrlKey[] = "homepageUrl"; |
90 const char kIdKey[] = "id"; | 89 const char kIdKey[] = "id"; |
91 const char kMayDisableKey[] = "mayDisable"; | 90 const char kMayDisableKey[] = "mayDisable"; |
92 const char kNameKey[] = "name"; | 91 const char kNameKey[] = "name"; |
93 const char kOfflineEnabledKey[] = "offlineEnabled"; | 92 const char kOfflineEnabledKey[] = "offlineEnabled"; |
94 const char kOptionsUrlKey[] = "optionsUrl"; | 93 const char kOptionsUrlKey[] = "optionsUrl"; |
95 const char kVersionKey[] = "version"; | 94 const char kVersionKey[] = "version"; |
96 } | 95 } |
97 | 96 |
98 namespace extension_misc { | 97 namespace extension_misc { |
(...skipping 19 matching lines...) Expand all Loading... |
118 const char kAppStateInstalled[] = "installed"; | 117 const char kAppStateInstalled[] = "installed"; |
119 const char kAppStateDisabled[] = "disabled"; | 118 const char kAppStateDisabled[] = "disabled"; |
120 const char kAppStateRunning[] = "running"; | 119 const char kAppStateRunning[] = "running"; |
121 const char kAppStateCannotRun[] = "cannot_run"; | 120 const char kAppStateCannotRun[] = "cannot_run"; |
122 const char kAppStateReadyToRun[] = "ready_to_run"; | 121 const char kAppStateReadyToRun[] = "ready_to_run"; |
123 | 122 |
124 const char kAppNotificationsIncognitoError[] = | 123 const char kAppNotificationsIncognitoError[] = |
125 "This API is not accessible by 'split' mode " | 124 "This API is not accessible by 'split' mode " |
126 "extensions in incognito windows."; | 125 "extensions in incognito windows."; |
127 } | 126 } |
OLD | NEW |