Chromium Code Reviews| 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> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 // Path to preinstalled speech synthesis extension. | 214 // Path to preinstalled speech synthesis extension. |
| 215 extern const char kSpeechSynthesisExtensionPath[]; | 215 extern const char kSpeechSynthesisExtensionPath[]; |
| 216 // The extension id of the speech synthesis extension. | 216 // The extension id of the speech synthesis extension. |
| 217 extern const char kSpeechSynthesisExtensionId[]; | 217 extern const char kSpeechSynthesisExtensionId[]; |
| 218 // The extension id of the wallpaper manager application. | 218 // The extension id of the wallpaper manager application. |
| 219 extern const char kWallpaperManagerId[]; | 219 extern const char kWallpaperManagerId[]; |
| 220 // The app id of the webstore widget component app. | 220 // The app id of the webstore widget component app. |
| 221 extern const char kWebstoreWidgetAppId[]; | 221 extern const char kWebstoreWidgetAppId[]; |
| 222 // The extension id of the new ZIP unpacker extension. | 222 // The extension id of the new ZIP unpacker extension. |
| 223 extern const char kZIPUnpackerExtensionId[]; | 223 extern const char kZIPUnpackerExtensionId[]; |
| 224 // The extension id of the IME extensions. | |
|
Devlin
2016/01/20 23:52:18
can we be slightly more specific? IME extensions
Azure Wei
2016/01/21 04:44:54
I've updated the document, hope it describes bette
| |
| 225 extern const char* const kIMEExtensionIds[2]; | |
| 224 #endif | 226 #endif |
| 225 | 227 |
| 226 // What causes an extension to be installed? Used in histograms, so don't | 228 // What causes an extension to be installed? Used in histograms, so don't |
| 227 // change existing values. | 229 // change existing values. |
| 228 enum CrxInstallCause { | 230 enum CrxInstallCause { |
| 229 INSTALL_CAUSE_UNSET = 0, | 231 INSTALL_CAUSE_UNSET = 0, |
| 230 INSTALL_CAUSE_USER_DOWNLOAD, | 232 INSTALL_CAUSE_USER_DOWNLOAD, |
| 231 INSTALL_CAUSE_UPDATE, | 233 INSTALL_CAUSE_UPDATE, |
| 232 INSTALL_CAUSE_EXTERNAL_FILE, | 234 INSTALL_CAUSE_EXTERNAL_FILE, |
| 233 INSTALL_CAUSE_AUTOMATION, | 235 INSTALL_CAUSE_AUTOMATION, |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 246 // The path part of the file system url used for media file systems. | 248 // The path part of the file system url used for media file systems. |
| 247 extern const char kMediaFileSystemPathPart[]; | 249 extern const char kMediaFileSystemPathPart[]; |
| 248 | 250 |
| 249 // The key used for signing some pieces of data from the webstore. | 251 // The key used for signing some pieces of data from the webstore. |
| 250 extern const uint8_t kWebstoreSignaturesPublicKey[]; | 252 extern const uint8_t kWebstoreSignaturesPublicKey[]; |
| 251 extern const int kWebstoreSignaturesPublicKeySize; | 253 extern const int kWebstoreSignaturesPublicKeySize; |
| 252 | 254 |
| 253 } // namespace extension_misc | 255 } // namespace extension_misc |
| 254 | 256 |
| 255 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 257 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |