| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // rules are stored. | 97 // rules are stored. |
| 98 extern const char kRulesStoreName[]; | 98 extern const char kRulesStoreName[]; |
| 99 | 99 |
| 100 // The URL query parameter key corresponding to multi-login user index. | 100 // The URL query parameter key corresponding to multi-login user index. |
| 101 extern const char kAuthUserQueryKey[]; | 101 extern const char kAuthUserQueryKey[]; |
| 102 | 102 |
| 103 // Mime type strings | 103 // Mime type strings |
| 104 extern const char kMimeTypeJpeg[]; | 104 extern const char kMimeTypeJpeg[]; |
| 105 extern const char kMimeTypePng[]; | 105 extern const char kMimeTypePng[]; |
| 106 | 106 |
| 107 // TODO(lazyboy): This is a hack and it is copied from service_worker_types.cc, |
| 108 // which is not available to extensions/ code. Move the constant to |
| 109 // content/public/common. |
| 110 extern const int64_t kInvalidServiceWorkerVersionId; |
| 111 |
| 107 // The extension id of the Web Store component application. | 112 // The extension id of the Web Store component application. |
| 108 extern const char kWebStoreAppId[]; | 113 extern const char kWebStoreAppId[]; |
| 109 | 114 |
| 110 // The key used for signing some pieces of data from the webstore. | 115 // The key used for signing some pieces of data from the webstore. |
| 111 extern const uint8_t kWebstoreSignaturesPublicKey[]; | 116 extern const uint8_t kWebstoreSignaturesPublicKey[]; |
| 112 extern const int kWebstoreSignaturesPublicKeySize; | 117 extern const int kWebstoreSignaturesPublicKeySize; |
| 113 | 118 |
| 114 // Enumeration of possible app launch sources. | 119 // Enumeration of possible app launch sources. |
| 115 // Note the enumeration is used in UMA histogram so entries | 120 // Note the enumeration is used in UMA histogram so entries |
| 116 // should not be re-ordered or removed. | 121 // should not be re-ordered or removed. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 219 |
| 215 // The extension id for the production version of Hangouts. | 220 // The extension id for the production version of Hangouts. |
| 216 extern const char kProdHangoutsExtensionId[]; | 221 extern const char kProdHangoutsExtensionId[]; |
| 217 | 222 |
| 218 // Extension ids used by Hangouts. | 223 // Extension ids used by Hangouts. |
| 219 extern const char* const kHangoutsExtensionIds[6]; | 224 extern const char* const kHangoutsExtensionIds[6]; |
| 220 | 225 |
| 221 } // namespace extension_misc | 226 } // namespace extension_misc |
| 222 | 227 |
| 223 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 228 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |