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

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

Issue 10382149: Refactor the various ways to control what users can do to extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const char kGeneratedBackgroundPageFilename[] = 96 const char kGeneratedBackgroundPageFilename[] =
97 "_generated_background_page.html"; 97 "_generated_background_page.html";
98 } 98 }
99 99
100 // These must match the values expected by the chrome.management extension API. 100 // These must match the values expected by the chrome.management extension API.
101 namespace extension_info_keys { 101 namespace extension_info_keys {
102 const char kDescriptionKey[] = "description"; 102 const char kDescriptionKey[] = "description";
103 const char kEnabledKey[] = "enabled"; 103 const char kEnabledKey[] = "enabled";
104 const char kHomepageUrlKey[] = "homepageUrl"; 104 const char kHomepageUrlKey[] = "homepageUrl";
105 const char kIdKey[] = "id"; 105 const char kIdKey[] = "id";
106 const char kMayDisableKey[] = "mayDisable";
107 const char kNameKey[] = "name"; 106 const char kNameKey[] = "name";
108 const char kOfflineEnabledKey[] = "offlineEnabled"; 107 const char kOfflineEnabledKey[] = "offlineEnabled";
109 const char kOptionsUrlKey[] = "optionsUrl"; 108 const char kOptionsUrlKey[] = "optionsUrl";
110 const char kVersionKey[] = "version"; 109 const char kVersionKey[] = "version";
111 } 110 }
112 111
113 namespace extension_misc { 112 namespace extension_misc {
114 const char kBookmarkManagerId[] = "eemcgdkfndhakfknompkggombfjjjeno"; 113 const char kBookmarkManagerId[] = "eemcgdkfndhakfknompkggombfjjjeno";
115 const char kCitrixReceiverAppId[] = "haiffjcadagjlijoggckpgfnoeiflnem"; 114 const char kCitrixReceiverAppId[] = "haiffjcadagjlijoggckpgfnoeiflnem";
116 const char kCitrixReceiverAppBetaId[] = "gnedhmakppccajfpfiihfcdlnpgomkcf"; 115 const char kCitrixReceiverAppBetaId[] = "gnedhmakppccajfpfiihfcdlnpgomkcf";
(...skipping 16 matching lines...) Expand all
133 const char kAppStateInstalled[] = "installed"; 132 const char kAppStateInstalled[] = "installed";
134 const char kAppStateDisabled[] = "disabled"; 133 const char kAppStateDisabled[] = "disabled";
135 const char kAppStateRunning[] = "running"; 134 const char kAppStateRunning[] = "running";
136 const char kAppStateCannotRun[] = "cannot_run"; 135 const char kAppStateCannotRun[] = "cannot_run";
137 const char kAppStateReadyToRun[] = "ready_to_run"; 136 const char kAppStateReadyToRun[] = "ready_to_run";
138 137
139 const char kAppNotificationsIncognitoError[] = 138 const char kAppNotificationsIncognitoError[] =
140 "This API is not accessible by 'split' mode " 139 "This API is not accessible by 'split' mode "
141 "extensions in incognito windows."; 140 "extensions in incognito windows.";
142 } 141 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_manifest_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698