| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 // The filename to use for a background page generated from | 59 // The filename to use for a background page generated from |
| 60 // background.scripts. | 60 // background.scripts. |
| 61 extern const char kGeneratedBackgroundPageFilename[]; | 61 extern const char kGeneratedBackgroundPageFilename[]; |
| 62 } | 62 } |
| 63 | 63 |
| 64 // Keys in the dictionary returned by Extension::GetBasicInfo(). | 64 // Keys in the dictionary returned by Extension::GetBasicInfo(). |
| 65 namespace extension_info_keys { | 65 namespace extension_info_keys { |
| 66 extern const char kDescriptionKey[]; | 66 extern const char kDescriptionKey[]; |
| 67 extern const char kEnabledKey[]; | 67 extern const char kEnabledKey[]; |
| 68 extern const char kHomepageProvidedKey[]; |
| 68 extern const char kHomepageUrlKey[]; | 69 extern const char kHomepageUrlKey[]; |
| 69 extern const char kIdKey[]; | 70 extern const char kIdKey[]; |
| 70 extern const char kMayDisableKey[]; | 71 extern const char kMayDisableKey[]; |
| 71 extern const char kNameKey[]; | 72 extern const char kNameKey[]; |
| 72 extern const char kOfflineEnabledKey[]; | 73 extern const char kOfflineEnabledKey[]; |
| 73 extern const char kOptionsUrlKey[]; | 74 extern const char kOptionsUrlKey[]; |
| 74 extern const char kVersionKey[]; | 75 extern const char kVersionKey[]; |
| 75 } | 76 } |
| 76 | 77 |
| 77 namespace extension_misc { | 78 namespace extension_misc { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 237 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 237 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 238 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 238 }; | 239 }; |
| 239 | 240 |
| 240 // Error indicating that the app notifications API is not accessible by split | 241 // Error indicating that the app notifications API is not accessible by split |
| 241 // mode extensions in incognito windows. | 242 // mode extensions in incognito windows. |
| 242 extern const char kAppNotificationsIncognitoError[]; | 243 extern const char kAppNotificationsIncognitoError[]; |
| 243 } // extension_misc | 244 } // extension_misc |
| 244 | 245 |
| 245 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 246 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |