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

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

Issue 10174001: Add an API for hosted apps to check their install and running states. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const char kCroshBuiltinAppId[] = "nkoccljplnhpfnfiajclkommnmllphnl"; 105 const char kCroshBuiltinAppId[] = "nkoccljplnhpfnfiajclkommnmllphnl";
106 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb"; 106 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb";
107 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; 107 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng";
108 const char kAppsPromoHistogram[] = "Extensions.AppsPromo"; 108 const char kAppsPromoHistogram[] = "Extensions.AppsPromo";
109 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; 109 const char kAppLaunchHistogram[] = "Extensions.AppLaunch";
110 #if defined(OS_CHROMEOS) 110 #if defined(OS_CHROMEOS)
111 const char kAccessExtensionPath[] = 111 const char kAccessExtensionPath[] =
112 "/usr/share/chromeos-assets/accessibility/extensions"; 112 "/usr/share/chromeos-assets/accessibility/extensions";
113 const char kChromeVoxDirectoryName[] = "access_chromevox"; 113 const char kChromeVoxDirectoryName[] = "access_chromevox";
114 #endif 114 #endif
115
116 const char kAppStateNotInstalled[] = "not_installed";
117 const char kAppStateInstalled[] = "installed";
118 const char kAppStateDisabled[] = "disabled";
119 const char kAppStateRunning[] = "running";
120 const char kAppStateCannotRun[] = "cannot_run";
121 const char kAppStateReadyToRun[] = "ready_to_run";
122
115 const char kAppNotificationsIncognitoError[] = 123 const char kAppNotificationsIncognitoError[] =
116 "This API is not accessible by 'split' mode " 124 "This API is not accessible by 'split' mode "
117 "extensions in incognito windows."; 125 "extensions in incognito windows.";
118 } 126 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698