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

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

Issue 71303009: Fix browser crash when parsing invalid Settings Override extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 const char kInvalidRunAt[] = 530 const char kInvalidRunAt[] =
531 "Invalid value for 'content_scripts[*].run_at'."; 531 "Invalid value for 'content_scripts[*].run_at'.";
532 const char kInvalidSandboxedPagesList[] = 532 const char kInvalidSandboxedPagesList[] =
533 "Invalid value for 'sandbox.pages'."; 533 "Invalid value for 'sandbox.pages'.";
534 const char kInvalidSandboxedPage[] = 534 const char kInvalidSandboxedPage[] =
535 "Invalid value for 'sandbox.pages[*]'."; 535 "Invalid value for 'sandbox.pages[*]'.";
536 const char kInvalidSandboxedPagesCSP[] = 536 const char kInvalidSandboxedPagesCSP[] =
537 "Invalid value for 'sandbox.content_security_policy'."; 537 "Invalid value for 'sandbox.content_security_policy'.";
538 const char kInvalidScriptBadge[] = 538 const char kInvalidScriptBadge[] =
539 "Invalid value for 'script_badge'."; 539 "Invalid value for 'script_badge'.";
540 const char kInvalidSearchEngineURL[] =
541 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'.";
540 const char kInvalidEmptySettingsOverrides[] = 542 const char kInvalidEmptySettingsOverrides[] =
541 "Empty dictionary for 'chrome_settings_overrides'."; 543 "Empty dictionary for 'chrome_settings_overrides'.";
542 const char kInvalidShortName[] = 544 const char kInvalidShortName[] =
543 "Invalid value for 'short_name'."; 545 "Invalid value for 'short_name'.";
544 const char kInvalidSignature[] = 546 const char kInvalidSignature[] =
545 "Value 'signature' is missing or invalid."; 547 "Value 'signature' is missing or invalid.";
546 const char kInvalidSpellcheck[] = 548 const char kInvalidSpellcheck[] =
547 "Invalid value for 'spellcheck'."; 549 "Invalid value for 'spellcheck'.";
548 const char kInvalidSpellcheckDictionaryFormat[] = 550 const char kInvalidSpellcheckDictionaryFormat[] =
549 "Invalid value for spellcheck dictionary format."; 551 "Invalid value for spellcheck dictionary format.";
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 const char kWebRequestConflictsWithLazyBackground[] = 681 const char kWebRequestConflictsWithLazyBackground[] =
680 "The 'webRequest' API cannot be used with event pages."; 682 "The 'webRequest' API cannot be used with event pages.";
681 #if defined(OS_CHROMEOS) 683 #if defined(OS_CHROMEOS)
682 const char kIllegalPlugins[] = 684 const char kIllegalPlugins[] =
683 "Extensions cannot install plugins on Chrome OS"; 685 "Extensions cannot install plugins on Chrome OS";
684 #endif 686 #endif
685 687
686 } // namespace manifest_errors 688 } // namespace manifest_errors
687 689
688 } // namespace extensions 690 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698