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 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // TODO(lazyboy): This is a hack and it is copied from service_worker_types.cc, | 104 // TODO(lazyboy): This is a hack and it is copied from service_worker_types.cc, |
105 // which is not available to extensions/ code. Move the constant to | 105 // which is not available to extensions/ code. Move the constant to |
106 // content/public/common. | 106 // content/public/common. |
107 extern const int64_t kInvalidServiceWorkerVersionId; | 107 extern const int64_t kInvalidServiceWorkerVersionId; |
108 | 108 |
109 // The extension id of the Web Store component application. | 109 // The extension id of the Web Store component application. |
110 extern const char kWebStoreAppId[]; | 110 extern const char kWebStoreAppId[]; |
111 | 111 |
112 // The key used for signing some pieces of data from the webstore. | 112 // The key used for signing some pieces of data from the webstore. |
113 extern const uint8_t kWebstoreSignaturesPublicKey[]; | 113 extern const uint8_t kWebstoreSignaturesPublicKey[]; |
114 extern const int kWebstoreSignaturesPublicKeySize; | 114 extern const size_t kWebstoreSignaturesPublicKeySize; |
115 | 115 |
116 // Enumeration of possible app launch sources. | 116 // Enumeration of possible app launch sources. |
117 // This should be kept in sync with LaunchSource in | 117 // This should be kept in sync with LaunchSource in |
118 // extensions/common/api/app_runtime.idl, and GetLaunchSourceEnum() in | 118 // extensions/common/api/app_runtime.idl, and GetLaunchSourceEnum() in |
119 // extensions/browser/api/app_runtime/app_runtime_api.cc. | 119 // extensions/browser/api/app_runtime/app_runtime_api.cc. |
120 // Note the enumeration is used in UMA histogram so entries | 120 // Note the enumeration is used in UMA histogram so entries |
121 // should not be re-ordered or removed. | 121 // should not be re-ordered or removed. |
122 enum AppLaunchSource { | 122 enum AppLaunchSource { |
123 SOURCE_NONE, | 123 SOURCE_NONE, |
124 SOURCE_UNTRACKED, | 124 SOURCE_UNTRACKED, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 216 |
217 // The extension id for the production version of Hangouts. | 217 // The extension id for the production version of Hangouts. |
218 extern const char kProdHangoutsExtensionId[]; | 218 extern const char kProdHangoutsExtensionId[]; |
219 | 219 |
220 // Extension ids used by Hangouts. | 220 // Extension ids used by Hangouts. |
221 extern const char* const kHangoutsExtensionIds[6]; | 221 extern const char* const kHangoutsExtensionIds[6]; |
222 | 222 |
223 } // namespace extension_misc | 223 } // namespace extension_misc |
224 | 224 |
225 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 225 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |