| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 INSTALL_CAUSE_AUTOMATION, | 213 INSTALL_CAUSE_AUTOMATION, |
| 214 NUM_INSTALL_CAUSES | 214 NUM_INSTALL_CAUSES |
| 215 }; | 215 }; |
| 216 | 216 |
| 217 enum UnloadedExtensionReason { | 217 enum UnloadedExtensionReason { |
| 218 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 218 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 219 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 219 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 220 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 220 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 221 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 221 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 222 }; | 222 }; |
| 223 |
| 224 // Error indicating that the app notifications API is not accessible by split |
| 225 // mode extensions in incognito windows. |
| 226 extern const char kAppNotificationsIncognitoError[]; |
| 223 } // extension_misc | 227 } // extension_misc |
| 224 | 228 |
| 225 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 229 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |