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

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 801603002: Add support for command line switches to Features, and as proof that it works, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 6 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/common/manifest_constants.h" 5 #include "extensions/common/manifest_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace manifest_keys { 9 namespace manifest_keys {
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 "Cannot claim all URLs in an extent."; 264 "Cannot claim all URLs in an extent.";
265 const char kCannotScriptGallery[] = 265 const char kCannotScriptGallery[] =
266 "The extensions gallery cannot be scripted."; 266 "The extensions gallery cannot be scripted.";
267 const char kCannotScriptSigninPage[] = 267 const char kCannotScriptSigninPage[] =
268 "The sign-in page cannot be scripted."; 268 "The sign-in page cannot be scripted.";
269 const char kChromeVersionTooLow[] = 269 const char kChromeVersionTooLow[] =
270 "This extension requires * version * or greater."; 270 "This extension requires * version * or greater.";
271 const char kDisabledByPolicy[] = 271 const char kDisabledByPolicy[] =
272 "This extension has been disabled by your administrator."; 272 "This extension has been disabled by your administrator.";
273 const char kExpectString[] = "Expect string value."; 273 const char kExpectString[] = "Expect string value.";
274 const char kExperimentalFlagRequired[] =
275 "Loading extensions with 'experimental' permission is turned off by "
276 "default. You can enable 'Experimental Extension APIs' "
277 "by visiting chrome://flags.";
278 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; 274 const char kInvalidAboutPage[] = "Invalid value for 'about_page'.";
279 const char kInvalidAboutPageExpectRelativePath[] = 275 const char kInvalidAboutPageExpectRelativePath[] =
280 "Invalid value for 'about_page'. Value must be a relative path."; 276 "Invalid value for 'about_page'. Value must be a relative path.";
281 const char kInvalidAllFrames[] = 277 const char kInvalidAllFrames[] =
282 "Invalid value for 'content_scripts[*].all_frames'."; 278 "Invalid value for 'content_scripts[*].all_frames'.";
283 const char kInvalidAppIconColor[] = "Invalid value for app.icon_color."; 279 const char kInvalidAppIconColor[] = "Invalid value for app.icon_color.";
284 const char kInvalidBackground[] = 280 const char kInvalidBackground[] =
285 "Invalid value for 'background_page'."; 281 "Invalid value for 'background_page'.";
286 const char kInvalidBackgroundAllowJsAccess[] = 282 const char kInvalidBackgroundAllowJsAccess[] =
287 "Invalid value for 'background.allow_js_access'."; 283 "Invalid value for 'background.allow_js_access'.";
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 const char kWebRequestConflictsWithLazyBackground[] = 700 const char kWebRequestConflictsWithLazyBackground[] =
705 "The 'webRequest' API cannot be used with event pages."; 701 "The 'webRequest' API cannot be used with event pages.";
706 #if defined(OS_CHROMEOS) 702 #if defined(OS_CHROMEOS)
707 const char kIllegalPlugins[] = 703 const char kIllegalPlugins[] =
708 "Extensions cannot install plugins on Chrome OS"; 704 "Extensions cannot install plugins on Chrome OS";
709 #endif 705 #endif
710 706
711 } // namespace manifest_errors 707 } // namespace manifest_errors
712 708
713 } // namespace extensions 709 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/manifest_handlers/permissions_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698