| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 extern const char kLocalesNoDefaultLocaleSpecified[]; | 290 extern const char kLocalesNoDefaultLocaleSpecified[]; |
| 291 extern const char kLocalesNoDefaultMessages[]; | 291 extern const char kLocalesNoDefaultMessages[]; |
| 292 extern const char kLocalesNoValidLocaleNamesListed[]; | 292 extern const char kLocalesNoValidLocaleNamesListed[]; |
| 293 extern const char kLocalesTreeMissing[]; | 293 extern const char kLocalesTreeMissing[]; |
| 294 extern const char kManifestParseError[]; | 294 extern const char kManifestParseError[]; |
| 295 extern const char kManifestUnreadable[]; | 295 extern const char kManifestUnreadable[]; |
| 296 extern const char kMissingFile[]; | 296 extern const char kMissingFile[]; |
| 297 extern const char kMultipleOverrides[]; | 297 extern const char kMultipleOverrides[]; |
| 298 extern const char kNoWildCardsInPaths[]; | 298 extern const char kNoWildCardsInPaths[]; |
| 299 extern const char kPermissionNotAllowed[]; | 299 extern const char kPermissionNotAllowed[]; |
| 300 extern const char kPlatformAppFlagRequired[]; |
| 300 extern const char kOneUISurfaceOnly[]; | 301 extern const char kOneUISurfaceOnly[]; |
| 301 extern const char kReservedMessageFound[]; | 302 extern const char kReservedMessageFound[]; |
| 302 extern const char kWebContentMustBeEnabled[]; | 303 extern const char kWebContentMustBeEnabled[]; |
| 303 #if defined(OS_CHROMEOS) | 304 #if defined(OS_CHROMEOS) |
| 304 extern const char kIllegalPlugins[]; | 305 extern const char kIllegalPlugins[]; |
| 305 #endif | 306 #endif |
| 306 } // namespace extension_manifest_errors | 307 } // namespace extension_manifest_errors |
| 307 | 308 |
| 308 namespace extension_urls { | 309 namespace extension_urls { |
| 309 // Returns the URL prefix for the extension/apps gallery. Can be set via the | 310 // Returns the URL prefix for the extension/apps gallery. Can be set via the |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 | 511 |
| 511 enum UnloadedExtensionReason { | 512 enum UnloadedExtensionReason { |
| 512 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 513 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
| 513 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 514 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
| 514 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 515 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 515 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 516 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 516 }; | 517 }; |
| 517 } // extension_misc | 518 } // extension_misc |
| 518 | 519 |
| 519 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 520 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |