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

Side by Side Diff: chrome/common/extensions/extension_manifest_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_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_constants.h"
6 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char kAllFrames[] = "all_frames"; 9 const char kAllFrames[] = "all_frames";
10 const char kAltKey[] = "altKey"; 10 const char kAltKey[] = "altKey";
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "Cannot access contents of url \"*\". " 161 "Cannot access contents of url \"*\". "
162 "Extension manifest must request permission to access this host."; 162 "Extension manifest must request permission to access this host.";
163 const char kCannotChangeExtensionID[] = 163 const char kCannotChangeExtensionID[] =
164 "Installed extensions cannot change their IDs."; 164 "Installed extensions cannot change their IDs.";
165 const char kCannotClaimAllHostsInExtent[] = 165 const char kCannotClaimAllHostsInExtent[] =
166 "Cannot claim all hosts ('*') in an extent."; 166 "Cannot claim all hosts ('*') in an extent.";
167 const char kCannotClaimAllURLsInExtent[] = 167 const char kCannotClaimAllURLsInExtent[] =
168 "Cannot claim all URLs in an extent."; 168 "Cannot claim all URLs in an extent.";
169 const char kCannotScriptGallery[] = 169 const char kCannotScriptGallery[] =
170 "The extensions gallery cannot be scripted."; 170 "The extensions gallery cannot be scripted.";
171 const char kCannotUninstallManagedExtension[] =
172 "Attempted uninstallation of an extension that is not user-manageable.";
173 const char kChromeVersionTooLow[] = 171 const char kChromeVersionTooLow[] =
174 "This extension requires * version * or greater."; 172 "This extension requires * version * or greater.";
175 const char kDisabledByPolicy[] = 173 const char kDisabledByPolicy[] =
176 "This extension has been disabled by your administrator."; 174 "This extension has been disabled by your administrator.";
177 const char kExpectString[] = "Expect string value."; 175 const char kExpectString[] = "Expect string value.";
178 const char kExperimentalFlagRequired[] = 176 const char kExperimentalFlagRequired[] =
179 "Loading extensions with 'experimental' permission is turned off by " 177 "Loading extensions with 'experimental' permission is turned off by "
180 "default. You can enable 'Experimental Extension APIs' " 178 "default. You can enable 'Experimental Extension APIs' "
181 "by visiting chrome://flags."; 179 "by visiting chrome://flags.";
182 const char kInvalidAllFrames[] = 180 const char kInvalidAllFrames[] =
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 "Platform apps need manifest_version set to >= 2"; 471 "Platform apps need manifest_version set to >= 2";
474 const char kReservedMessageFound[] = 472 const char kReservedMessageFound[] =
475 "Reserved key * found in message catalog."; 473 "Reserved key * found in message catalog.";
476 const char kWebRequestConflictsWithLazyBackground[] = 474 const char kWebRequestConflictsWithLazyBackground[] =
477 "The 'webRequest' API cannot be used with event pages."; 475 "The 'webRequest' API cannot be used with event pages.";
478 #if defined(OS_CHROMEOS) 476 #if defined(OS_CHROMEOS)
479 const char kIllegalPlugins[] = 477 const char kIllegalPlugins[] =
480 "Extensions cannot install plugins on Chrome OS"; 478 "Extensions cannot install plugins on Chrome OS";
481 #endif 479 #endif
482 } // namespace extension_manifest_errors 480 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698