Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 2216433004: Add skeleton for select-to-speak component extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix warning Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "chrome/common/extensions/extension_constants.h" 7 #include "chrome/common/extensions/extension_constants.h"
8 8
9 namespace extension_urls { 9 namespace extension_urls {
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const char kHotwordNewExtensionId[] = "nbpagnldghgfoolbancepceaanlmhfmd"; 52 const char kHotwordNewExtensionId[] = "nbpagnldghgfoolbancepceaanlmhfmd";
53 const char kHotwordSharedModuleId[] = "lccekmodgklaepjeofjdjpbminllajkg"; 53 const char kHotwordSharedModuleId[] = "lccekmodgklaepjeofjdjpbminllajkg";
54 const char kYoutubeAppId[] = "blpcfgokakmgnkcojhhkbfbldkacnbeo"; 54 const char kYoutubeAppId[] = "blpcfgokakmgnkcojhhkbfbldkacnbeo";
55 const char kInAppPaymentsSupportAppId[] = "nmmhkkegccagdldgiimedpiccmgmieda"; 55 const char kInAppPaymentsSupportAppId[] = "nmmhkkegccagdldgiimedpiccmgmieda";
56 #if defined(ENABLE_MEDIA_ROUTER) 56 #if defined(ENABLE_MEDIA_ROUTER)
57 const char kMediaRouterStableExtensionId[] = "pkedcjkdefgpdelpbcmbmeomcjbeemfm"; 57 const char kMediaRouterStableExtensionId[] = "pkedcjkdefgpdelpbcmbmeomcjbeemfm";
58 #endif // defined(ENABLE_MEDIA_ROUTER) 58 #endif // defined(ENABLE_MEDIA_ROUTER)
59 59
60 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
61 // The extension id for the built-in component extension. 61 // The extension id for the built-in component extension.
62 const char kChromeVoxExtensionId[] = 62 const char kChromeVoxExtensionId[] = "mndnfokpggljbaajbnioimlmbfngpief";
63 "mndnfokpggljbaajbnioimlmbfngpief";
64 const char kChromeVoxExtensionPath[] = "chromeos/chromevox"; 63 const char kChromeVoxExtensionPath[] = "chromeos/chromevox";
64 const char kSelectToSpeakExtensionId[] = "klbcgckkldhdhonijdbnhhaiedfkllef";
65 const char kSelectToSpeakExtensionPath[] = "chromeos/select_to_speak";
Devlin 2016/09/16 22:13:45 nit: should this be a FILE_PATH_LITERAL?
65 const char kGuestManifestFilename[] = "manifest_guest.json"; 66 const char kGuestManifestFilename[] = "manifest_guest.json";
66 const char kBrailleImeExtensionId[] = 67 const char kBrailleImeExtensionId[] =
67 "jddehjeebkoimngcbdkaahpobgicbffp"; 68 "jddehjeebkoimngcbdkaahpobgicbffp";
68 const char kBrailleImeExtensionPath[] = 69 const char kBrailleImeExtensionPath[] =
69 "chromeos/braille_ime"; 70 "chromeos/braille_ime";
70 const char kBrailleImeEngineId[] = 71 const char kBrailleImeEngineId[] =
71 "_comp_ime_jddehjeebkoimngcbdkaahpobgicbffpbraille"; 72 "_comp_ime_jddehjeebkoimngcbdkaahpobgicbffpbraille";
72 const char kConnectivityDiagnosticsPath[] = 73 const char kConnectivityDiagnosticsPath[] =
73 "/usr/share/chromeos-assets/connectivity_diagnostics"; 74 "/usr/share/chromeos-assets/connectivity_diagnostics";
74 const char kConnectivityDiagnosticsLauncherPath[] = 75 const char kConnectivityDiagnosticsLauncherPath[] =
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const char* const kImeMenuExtensionIds[] = { 132 const char* const kImeMenuExtensionIds[] = {
132 "gjaehgfemfahhmlgpdfknkhdnemmolop", "jkghodnilhceideoidjikpgommlajknk"}; 133 "gjaehgfemfahhmlgpdfknkhdnemmolop", "jkghodnilhceideoidjikpgommlajknk"};
133 for (const char* id : kImeMenuExtensionIds) { 134 for (const char* id : kImeMenuExtensionIds) {
134 if (extension_id == id) 135 if (extension_id == id)
135 return true; 136 return true;
136 } 137 }
137 return false; 138 return false;
138 } 139 }
139 #endif 140 #endif
140 } // namespace extension_misc 141 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698