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

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

Issue 23819020: Gives ChromeVox access to the web store again. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add comments clarifying id's. Created 7 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
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 "chrome/common/extensions/extension_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 #include "chrome/common/extensions/extension_manifest_constants.h" 6 #include "chrome/common/extensions/extension_manifest_constants.h"
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "oickdpebdnfbgkcaoklfcdhjniefkcji"; 118 "oickdpebdnfbgkcaoklfcdhjniefkcji";
119 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb"; 119 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb";
120 const char kYoutubeAppId[] = "blpcfgokakmgnkcojhhkbfbldkacnbeo"; 120 const char kYoutubeAppId[] = "blpcfgokakmgnkcojhhkbfbldkacnbeo";
121 const char kInAppPaymentsSupportAppId[] = "nmmhkkegccagdldgiimedpiccmgmieda"; 121 const char kInAppPaymentsSupportAppId[] = "nmmhkkegccagdldgiimedpiccmgmieda";
122 122
123 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; 123 const char kAppLaunchHistogram[] = "Extensions.AppLaunch";
124 const char kPlatformAppLaunchHistogram[] = "Apps.AppLaunch"; 124 const char kPlatformAppLaunchHistogram[] = "Apps.AppLaunch";
125 #if defined(OS_CHROMEOS) 125 #if defined(OS_CHROMEOS)
126 const char kChromeVoxExtensionPath[] = 126 const char kChromeVoxExtensionPath[] =
127 "/usr/share/chromeos-assets/accessibility/extensions/access_chromevox"; 127 "/usr/share/chromeos-assets/accessibility/extensions/access_chromevox";
128 // The extension id for the built-in component extension.
129 const char kChromeVoxExtensionId[] =
130 "mndnfokpggljbaajbnioimlmbfngpief";
128 const char kConnectivityDiagnosticsPath[] = 131 const char kConnectivityDiagnosticsPath[] =
129 "/usr/share/chromeos-assets/connectivity_diagnostics"; 132 "/usr/share/chromeos-assets/connectivity_diagnostics";
130 const char kConnectivityDiagnosticsLauncherPath[] = 133 const char kConnectivityDiagnosticsLauncherPath[] =
131 "/usr/share/chromeos-assets/connectivity_diagnostics_launcher"; 134 "/usr/share/chromeos-assets/connectivity_diagnostics_launcher";
132 const char kSpeechSynthesisExtensionPath[] = 135 const char kSpeechSynthesisExtensionPath[] =
133 "/usr/share/chromeos-assets/speech_synthesis/patts"; 136 "/usr/share/chromeos-assets/speech_synthesis/patts";
134 const char kSpeechSynthesisExtensionId[] = 137 const char kSpeechSynthesisExtensionId[] =
135 "gjjabgpgjpampikjhjpfhneeoapjbjaf"; 138 "gjjabgpgjpampikjhjpfhneeoapjbjaf";
136 const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj"; 139 const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj";
140 #else
141 // The extension id for the web store extension.
142 const char kChromeVoxExtensionId[] =
143 "kgejglhpjiefppelpmljglcjbhoiplfn";
137 #endif 144 #endif
138 145
139 const char kAppStateNotInstalled[] = "not_installed"; 146 const char kAppStateNotInstalled[] = "not_installed";
140 const char kAppStateInstalled[] = "installed"; 147 const char kAppStateInstalled[] = "installed";
141 const char kAppStateDisabled[] = "disabled"; 148 const char kAppStateDisabled[] = "disabled";
142 const char kAppStateRunning[] = "running"; 149 const char kAppStateRunning[] = "running";
143 const char kAppStateCannotRun[] = "cannot_run"; 150 const char kAppStateCannotRun[] = "cannot_run";
144 const char kAppStateReadyToRun[] = "ready_to_run"; 151 const char kAppStateReadyToRun[] = "ready_to_run";
145 152
146 const char kMediaFileSystemPathPart[] = "_"; 153 const char kMediaFileSystemPathPart[] = "_";
(...skipping 24 matching lines...) Expand all
171 178
172 const int kScriptBadgeIconSizes[] = { 179 const int kScriptBadgeIconSizes[] = {
173 EXTENSION_ICON_BITTY, // 16 180 EXTENSION_ICON_BITTY, // 16
174 2 * EXTENSION_ICON_BITTY // 32 181 2 * EXTENSION_ICON_BITTY // 32
175 }; 182 };
176 183
177 const size_t kNumScriptBadgeIconSizes = 184 const size_t kNumScriptBadgeIconSizes =
178 arraysize(kScriptBadgeIconSizes); 185 arraysize(kScriptBadgeIconSizes);
179 186
180 } // namespace extension_misc 187 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/renderer/extensions/renderer_permissions_policy_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698