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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | |
| 11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 12 | 13 |
| 13 namespace extension_urls { | 14 namespace extension_urls { |
| 14 | 15 |
| 15 // This returns the compile-time constant webstore update url specific to | 16 // This returns the compile-time constant webstore update url specific to |
| 16 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl. | 17 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl. |
| 17 GURL GetDefaultWebstoreUpdateUrl(); | 18 GURL GetDefaultWebstoreUpdateUrl(); |
| 18 | 19 |
| 19 // Field to use with webstore URL for tracking launch source. | 20 // Field to use with webstore URL for tracking launch source. |
| 20 extern const char kWebstoreSourceField[]; | 21 extern const char kWebstoreSourceField[]; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 185 APP_LAUNCH_BUCKET_INVALID | 186 APP_LAUNCH_BUCKET_INVALID |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 // The extension id of the ChromeVox extension. | 189 // The extension id of the ChromeVox extension. |
| 189 extern const char kChromeVoxExtensionId[]; | 190 extern const char kChromeVoxExtensionId[]; |
| 190 | 191 |
| 191 #if defined(OS_CHROMEOS) | 192 #if defined(OS_CHROMEOS) |
| 192 // Path to preinstalled ChromeVox screen reader extension (relative to | 193 // Path to preinstalled ChromeVox screen reader extension (relative to |
| 193 // |chrome::DIR_RESOURCES|). | 194 // |chrome::DIR_RESOURCES|). |
| 194 extern const char kChromeVoxExtensionPath[]; | 195 extern const char kChromeVoxExtensionPath[]; |
| 195 // Name of ChromeVox manifest file. | 196 // Name of the manifest file in an extension when a special manifest is used |
| 196 extern const char kChromeVoxManifestFilename[]; | 197 // for guest mode. |
| 197 // Name of ChromeVox guest manifest file. | 198 extern const base::FilePath::CharType kGuestManifestFilename[]; |
|
not at google - send to devlin
2015/06/01 17:39:37
FilePath::CharType is more correct I suppose, but
| |
| 198 extern const char kChromeVoxGuestManifestFilename[]; | |
| 199 // Extension id, path (relative to |chrome::DIR_RESOURCES|) and IME engine | 199 // Extension id, path (relative to |chrome::DIR_RESOURCES|) and IME engine |
| 200 // id for the builtin-in Braille IME extension. | 200 // id for the builtin-in Braille IME extension. |
| 201 extern const char kBrailleImeExtensionId[]; | 201 extern const char kBrailleImeExtensionId[]; |
| 202 extern const char kBrailleImeExtensionPath[]; | 202 extern const char kBrailleImeExtensionPath[]; |
| 203 extern const char kBrailleImeEngineId[]; | 203 extern const char kBrailleImeEngineId[]; |
| 204 // Path to preinstalled Connectivity Diagnostics extension. | 204 // Path to preinstalled Connectivity Diagnostics extension. |
| 205 extern const char kConnectivityDiagnosticsPath[]; | 205 extern const char kConnectivityDiagnosticsPath[]; |
| 206 extern const char kConnectivityDiagnosticsLauncherPath[]; | 206 extern const char kConnectivityDiagnosticsLauncherPath[]; |
| 207 // The extension id of the first run dialog application. | 207 // The extension id of the first run dialog application. |
| 208 extern const char kFirstRunDialogId[]; | 208 extern const char kFirstRunDialogId[]; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 241 // The path part of the file system url used for media file systems. | 241 // The path part of the file system url used for media file systems. |
| 242 extern const char kMediaFileSystemPathPart[]; | 242 extern const char kMediaFileSystemPathPart[]; |
| 243 | 243 |
| 244 // The key used for signing some pieces of data from the webstore. | 244 // The key used for signing some pieces of data from the webstore. |
| 245 extern const uint8 kWebstoreSignaturesPublicKey[]; | 245 extern const uint8 kWebstoreSignaturesPublicKey[]; |
| 246 extern const int kWebstoreSignaturesPublicKeySize; | 246 extern const int kWebstoreSignaturesPublicKeySize; |
| 247 | 247 |
| 248 } // namespace extension_misc | 248 } // namespace extension_misc |
| 249 | 249 |
| 250 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 250 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |