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

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: Fixed SettingsOverridePermissionTest.* 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
« no previous file with comments | « extensions/common/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 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 const char kInvalidRunAt[] = 532 const char kInvalidRunAt[] =
533 "Invalid value for 'content_scripts[*].run_at'."; 533 "Invalid value for 'content_scripts[*].run_at'.";
534 const char kInvalidSandboxedPagesList[] = 534 const char kInvalidSandboxedPagesList[] =
535 "Invalid value for 'sandbox.pages'."; 535 "Invalid value for 'sandbox.pages'.";
536 const char kInvalidSandboxedPage[] = 536 const char kInvalidSandboxedPage[] =
537 "Invalid value for 'sandbox.pages[*]'."; 537 "Invalid value for 'sandbox.pages[*]'.";
538 const char kInvalidSandboxedPagesCSP[] = 538 const char kInvalidSandboxedPagesCSP[] =
539 "Invalid value for 'sandbox.content_security_policy'."; 539 "Invalid value for 'sandbox.content_security_policy'.";
540 const char kInvalidScriptBadge[] = 540 const char kInvalidScriptBadge[] =
541 "Invalid value for 'script_badge'."; 541 "Invalid value for 'script_badge'.";
542 const char kInvalidSearchEngineURL[] =
543 "Invalid URL [*] for 'chrome_settings_overrides.search_provider'.";
542 const char kInvalidEmptySettingsOverrides[] = 544 const char kInvalidEmptySettingsOverrides[] =
543 "Empty dictionary for 'chrome_settings_overrides'."; 545 "Empty dictionary for 'chrome_settings_overrides'.";
544 const char kInvalidShortName[] = 546 const char kInvalidShortName[] =
545 "Invalid value for 'short_name'."; 547 "Invalid value for 'short_name'.";
546 const char kInvalidSignature[] = 548 const char kInvalidSignature[] =
547 "Value 'signature' is missing or invalid."; 549 "Value 'signature' is missing or invalid.";
548 const char kInvalidSpellcheck[] = 550 const char kInvalidSpellcheck[] =
549 "Invalid value for 'spellcheck'."; 551 "Invalid value for 'spellcheck'.";
550 const char kInvalidSpellcheckDictionaryFormat[] = 552 const char kInvalidSpellcheckDictionaryFormat[] =
551 "Invalid value for spellcheck dictionary format."; 553 "Invalid value for spellcheck dictionary format.";
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 const char kWebRequestConflictsWithLazyBackground[] = 683 const char kWebRequestConflictsWithLazyBackground[] =
682 "The 'webRequest' API cannot be used with event pages."; 684 "The 'webRequest' API cannot be used with event pages.";
683 #if defined(OS_CHROMEOS) 685 #if defined(OS_CHROMEOS)
684 const char kIllegalPlugins[] = 686 const char kIllegalPlugins[] =
685 "Extensions cannot install plugins on Chrome OS"; 687 "Extensions cannot install plugins on Chrome OS";
686 #endif 688 #endif
687 689
688 } // namespace manifest_errors 690 } // namespace manifest_errors
689 691
690 } // namespace extensions 692 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698