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 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "build/build_config.h" |
12 #include "url/gurl.h" | 14 #include "url/gurl.h" |
13 | 15 |
14 namespace extension_urls { | 16 namespace extension_urls { |
15 | 17 |
16 // This returns the compile-time constant webstore update url specific to | 18 // This returns the compile-time constant webstore update url specific to |
17 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl. | 19 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl. |
18 GURL GetDefaultWebstoreUpdateUrl(); | 20 GURL GetDefaultWebstoreUpdateUrl(); |
19 | 21 |
20 // Field to use with webstore URL for tracking launch source. | 22 // Field to use with webstore URL for tracking launch source. |
21 extern const char kWebstoreSourceField[]; | 23 extern const char kWebstoreSourceField[]; |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 extern const char kAppStateInstalled[]; | 240 extern const char kAppStateInstalled[]; |
239 extern const char kAppStateDisabled[]; | 241 extern const char kAppStateDisabled[]; |
240 extern const char kAppStateRunning[]; | 242 extern const char kAppStateRunning[]; |
241 extern const char kAppStateCannotRun[]; | 243 extern const char kAppStateCannotRun[]; |
242 extern const char kAppStateReadyToRun[]; | 244 extern const char kAppStateReadyToRun[]; |
243 | 245 |
244 // The path part of the file system url used for media file systems. | 246 // The path part of the file system url used for media file systems. |
245 extern const char kMediaFileSystemPathPart[]; | 247 extern const char kMediaFileSystemPathPart[]; |
246 | 248 |
247 // The key used for signing some pieces of data from the webstore. | 249 // The key used for signing some pieces of data from the webstore. |
248 extern const uint8 kWebstoreSignaturesPublicKey[]; | 250 extern const uint8_t kWebstoreSignaturesPublicKey[]; |
249 extern const int kWebstoreSignaturesPublicKeySize; | 251 extern const int kWebstoreSignaturesPublicKeySize; |
250 | 252 |
251 } // namespace extension_misc | 253 } // namespace extension_misc |
252 | 254 |
253 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 255 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |