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

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

Issue 16398010: Move some extension manifest consistency checks to BackgroundManifestHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm Created 7 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
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 const char kInvalidImport[] = 327 const char kInvalidImport[] =
328 "Invalid value for 'import'."; 328 "Invalid value for 'import'.";
329 const char kInvalidImportAndExport[] = 329 const char kInvalidImportAndExport[] =
330 "Simultaneous 'import' and 'export' are not allowed."; 330 "Simultaneous 'import' and 'export' are not allowed.";
331 const char kInvalidImportId[] = 331 const char kInvalidImportId[] =
332 "Invalid value for 'import[*].id'."; 332 "Invalid value for 'import[*].id'.";
333 const char kInvalidImportVersion[] = 333 const char kInvalidImportVersion[] =
334 "Invalid value for 'import[*].minimum_version'."; 334 "Invalid value for 'import[*].minimum_version'.";
335 const char kInvalidIncognitoBehavior[] = 335 const char kInvalidIncognitoBehavior[] =
336 "Invalid value for 'incognito'."; 336 "Invalid value for 'incognito'.";
337 const char kInvalidIncognitoModeForPlatformApp[] =
338 "Invalid value for 'incognito'. Packaged apps must use split incognito "
339 "mode.";
340 const char kInvalidInputComponents[] = 337 const char kInvalidInputComponents[] =
341 "Invalid value for 'input_components'"; 338 "Invalid value for 'input_components'";
342 const char kInvalidInputComponentDescription[] = 339 const char kInvalidInputComponentDescription[] =
343 "Invalid value for 'input_components[*].description"; 340 "Invalid value for 'input_components[*].description";
344 const char kInvalidInputComponentLayoutName[] = 341 const char kInvalidInputComponentLayoutName[] =
345 "Invalid value for 'input_components[*].layouts[*]"; 342 "Invalid value for 'input_components[*].layouts[*]";
346 const char kInvalidInputComponentName[] = 343 const char kInvalidInputComponentName[] =
347 "Invalid value for 'input_components[*].name"; 344 "Invalid value for 'input_components[*].name";
348 const char kInvalidInputComponentShortcutKey[] = 345 const char kInvalidInputComponentShortcutKey[] =
349 "Invalid value for 'input_components[*].shortcutKey"; 346 "Invalid value for 'input_components[*].shortcutKey";
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 const char kScriptBadgeTitleIgnored[] = 613 const char kScriptBadgeTitleIgnored[] =
617 "default_title specified in script_badge manifest section will not be " 614 "default_title specified in script_badge manifest section will not be "
618 "used."; 615 "used.";
619 const char kWebRequestConflictsWithLazyBackground[] = 616 const char kWebRequestConflictsWithLazyBackground[] =
620 "The 'webRequest' API cannot be used with event pages."; 617 "The 'webRequest' API cannot be used with event pages.";
621 #if defined(OS_CHROMEOS) 618 #if defined(OS_CHROMEOS)
622 const char kIllegalPlugins[] = 619 const char kIllegalPlugins[] =
623 "Extensions cannot install plugins on Chrome OS"; 620 "Extensions cannot install plugins on Chrome OS";
624 #endif 621 #endif
625 } // namespace extension_manifest_errors 622 } // namespace extension_manifest_errors
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698