| 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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
| 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "ui/base/layout.h" | 9 #include "ui/base/layout.h" |
| 10 | 10 |
| 11 namespace extensions { | 11 namespace extensions { |
| 12 | 12 |
| 13 // Scheme we serve extension content from. | 13 // Scheme we serve extension content from. |
| 14 extern const char kExtensionScheme[]; | 14 extern const char kExtensionScheme[]; |
| 15 | 15 |
| 16 // Canonical schemes you can use as input to GURL.SchemeIs(). | |
| 17 extern const char kExtensionResourceScheme[]; | |
| 18 | |
| 19 // The name of the manifest inside an extension. | 16 // The name of the manifest inside an extension. |
| 20 extern const base::FilePath::CharType kManifestFilename[]; | 17 extern const base::FilePath::CharType kManifestFilename[]; |
| 21 | 18 |
| 22 // The name of locale folder inside an extension. | 19 // The name of locale folder inside an extension. |
| 23 extern const base::FilePath::CharType kLocaleFolder[]; | 20 extern const base::FilePath::CharType kLocaleFolder[]; |
| 24 | 21 |
| 25 // The name of the messages file inside an extension. | 22 // The name of the messages file inside an extension. |
| 26 extern const base::FilePath::CharType kMessagesFilename[]; | 23 extern const base::FilePath::CharType kMessagesFilename[]; |
| 27 | 24 |
| 28 // The base directory for subdirectories with platform-specific code. | 25 // The base directory for subdirectories with platform-specific code. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 216 |
| 220 // The extension id for the production version of Hangouts. | 217 // The extension id for the production version of Hangouts. |
| 221 extern const char kProdHangoutsExtensionId[]; | 218 extern const char kProdHangoutsExtensionId[]; |
| 222 | 219 |
| 223 // Extension ids used by Hangouts. | 220 // Extension ids used by Hangouts. |
| 224 extern const char* const kHangoutsExtensionIds[6]; | 221 extern const char* const kHangoutsExtensionIds[6]; |
| 225 | 222 |
| 226 } // namespace extension_misc | 223 } // namespace extension_misc |
| 227 | 224 |
| 228 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 225 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |