| 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 NUM_INSTALL_CAUSES | 232 NUM_INSTALL_CAUSES |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 enum UnloadedExtensionReason { | 235 enum UnloadedExtensionReason { |
| 236 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 236 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 239 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 239 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 // The states that an app can be in, as reported by chrome.app.installState |
| 243 // and chrome.app.runningState. |
| 244 extern const char kAppStateNotInstalled[]; |
| 245 extern const char kAppStateInstalled[]; |
| 246 extern const char kAppStateDisabled[]; |
| 247 extern const char kAppStateRunning[]; |
| 248 extern const char kAppStateCannotRun[]; |
| 249 extern const char kAppStateReadyToRun[]; |
| 250 |
| 242 // Error indicating that the app notifications API is not accessible by split | 251 // Error indicating that the app notifications API is not accessible by split |
| 243 // mode extensions in incognito windows. | 252 // mode extensions in incognito windows. |
| 244 extern const char kAppNotificationsIncognitoError[]; | 253 extern const char kAppNotificationsIncognitoError[]; |
| 245 } // extension_misc | 254 } // extension_misc |
| 246 | 255 |
| 247 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 256 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |