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

Side by Side Diff: chrome/browser/extensions/extension_keybinding_apitest.cc

Issue 2314363002: extensions: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Comment addressed Created 4 years, 3 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
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/extensions/active_tab_permission_granter.h" 9 #include "chrome/browser/extensions/active_tab_permission_granter.h"
10 #include "chrome/browser/extensions/api/commands/command_service.h" 10 #include "chrome/browser/extensions/api/commands/command_service.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 ASSERT_TRUE(catcher.GetNextResult()); 556 ASSERT_TRUE(catcher.GetNextResult());
557 ASSERT_TRUE(catcher.GetNextResult()); 557 ASSERT_TRUE(catcher.GetNextResult());
558 } 558 }
559 559
560 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutAddedOnUpdate) { 560 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutAddedOnUpdate) {
561 base::ScopedTempDir scoped_temp_dir; 561 base::ScopedTempDir scoped_temp_dir;
562 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 562 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
563 base::FilePath pem_path = test_data_dir_. 563 base::FilePath pem_path = test_data_dir_.
564 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 564 AppendASCII("keybinding").AppendASCII("keybinding.pem");
565 base::FilePath path_v1_unassigned = PackExtensionWithOptions( 565 base::FilePath path_v1_unassigned = PackExtensionWithOptions(
566 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 566 test_data_dir_.AppendASCII("keybinding")
567 .AppendASCII("v1_unassigned"), 567 .AppendASCII("update")
568 scoped_temp_dir.path().AppendASCII("v1_unassigned.crx"), 568 .AppendASCII("v1_unassigned"),
569 pem_path, 569 scoped_temp_dir.GetPath().AppendASCII("v1_unassigned.crx"), pem_path,
570 base::FilePath()); 570 base::FilePath());
571 base::FilePath path_v2 = PackExtensionWithOptions( 571 base::FilePath path_v2 =
572 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 572 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
573 .AppendASCII("v2"), 573 .AppendASCII("update")
574 scoped_temp_dir.path().AppendASCII("v2.crx"), 574 .AppendASCII("v2"),
575 pem_path, 575 scoped_temp_dir.GetPath().AppendASCII("v2.crx"),
576 base::FilePath()); 576 pem_path, base::FilePath());
577 577
578 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 578 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
579 CommandService* command_service = CommandService::Get(browser()->profile()); 579 CommandService* command_service = CommandService::Get(browser()->profile());
580 580
581 // Install v1 of the extension without keybinding assigned. 581 // Install v1 of the extension without keybinding assigned.
582 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1)); 582 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1));
583 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 583 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
584 NULL); 584 NULL);
585 585
586 // Verify it is set to nothing. 586 // Verify it is set to nothing.
(...skipping 13 matching lines...) Expand all
600 EXPECT_FALSE(accelerator.IsCtrlDown()); 600 EXPECT_FALSE(accelerator.IsCtrlDown());
601 EXPECT_TRUE(accelerator.IsShiftDown()); 601 EXPECT_TRUE(accelerator.IsShiftDown());
602 EXPECT_TRUE(accelerator.IsAltDown()); 602 EXPECT_TRUE(accelerator.IsAltDown());
603 } 603 }
604 604
605 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutChangedOnUpdate) { 605 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutChangedOnUpdate) {
606 base::ScopedTempDir scoped_temp_dir; 606 base::ScopedTempDir scoped_temp_dir;
607 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 607 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
608 base::FilePath pem_path = test_data_dir_. 608 base::FilePath pem_path = test_data_dir_.
609 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 609 AppendASCII("keybinding").AppendASCII("keybinding.pem");
610 base::FilePath path_v1 = PackExtensionWithOptions( 610 base::FilePath path_v1 =
611 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 611 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
612 .AppendASCII("v1"), 612 .AppendASCII("update")
613 scoped_temp_dir.path().AppendASCII("v1.crx"), 613 .AppendASCII("v1"),
614 pem_path, 614 scoped_temp_dir.GetPath().AppendASCII("v1.crx"),
615 base::FilePath()); 615 pem_path, base::FilePath());
616 base::FilePath path_v2_reassigned = PackExtensionWithOptions( 616 base::FilePath path_v2_reassigned = PackExtensionWithOptions(
617 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 617 test_data_dir_.AppendASCII("keybinding")
618 .AppendASCII("v2_reassigned"), 618 .AppendASCII("update")
619 scoped_temp_dir.path().AppendASCII("v2_reassigned.crx"), 619 .AppendASCII("v2_reassigned"),
620 pem_path, 620 scoped_temp_dir.GetPath().AppendASCII("v2_reassigned.crx"), pem_path,
621 base::FilePath()); 621 base::FilePath());
622 622
623 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 623 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
624 CommandService* command_service = CommandService::Get(browser()->profile()); 624 CommandService* command_service = CommandService::Get(browser()->profile());
625 625
626 // Install v1 of the extension. 626 // Install v1 of the extension.
627 ASSERT_TRUE(InstallExtension(path_v1, 1)); 627 ASSERT_TRUE(InstallExtension(path_v1, 1));
628 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 628 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
629 NULL); 629 NULL);
630 630
(...skipping 17 matching lines...) Expand all
648 EXPECT_FALSE(accelerator.IsCtrlDown()); 648 EXPECT_FALSE(accelerator.IsCtrlDown());
649 EXPECT_TRUE(accelerator.IsShiftDown()); 649 EXPECT_TRUE(accelerator.IsShiftDown());
650 EXPECT_TRUE(accelerator.IsAltDown()); 650 EXPECT_TRUE(accelerator.IsAltDown());
651 } 651 }
652 652
653 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutRemovedOnUpdate) { 653 IN_PROC_BROWSER_TEST_F(CommandsApiTest, ShortcutRemovedOnUpdate) {
654 base::ScopedTempDir scoped_temp_dir; 654 base::ScopedTempDir scoped_temp_dir;
655 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 655 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
656 base::FilePath pem_path = test_data_dir_. 656 base::FilePath pem_path = test_data_dir_.
657 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 657 AppendASCII("keybinding").AppendASCII("keybinding.pem");
658 base::FilePath path_v1 = PackExtensionWithOptions( 658 base::FilePath path_v1 =
659 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 659 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
660 .AppendASCII("v1"), 660 .AppendASCII("update")
661 scoped_temp_dir.path().AppendASCII("v1.crx"), 661 .AppendASCII("v1"),
662 pem_path, 662 scoped_temp_dir.GetPath().AppendASCII("v1.crx"),
663 base::FilePath()); 663 pem_path, base::FilePath());
664 base::FilePath path_v2_unassigned = PackExtensionWithOptions( 664 base::FilePath path_v2_unassigned = PackExtensionWithOptions(
665 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 665 test_data_dir_.AppendASCII("keybinding")
666 .AppendASCII("v2_unassigned"), 666 .AppendASCII("update")
667 scoped_temp_dir.path().AppendASCII("v2_unassigned.crx"), 667 .AppendASCII("v2_unassigned"),
668 pem_path, 668 scoped_temp_dir.GetPath().AppendASCII("v2_unassigned.crx"), pem_path,
669 base::FilePath()); 669 base::FilePath());
670 670
671 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 671 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
672 CommandService* command_service = CommandService::Get(browser()->profile()); 672 CommandService* command_service = CommandService::Get(browser()->profile());
673 673
674 // Install v1 of the extension. 674 // Install v1 of the extension.
675 ASSERT_TRUE(InstallExtension(path_v1, 1)); 675 ASSERT_TRUE(InstallExtension(path_v1, 1));
676 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 676 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
677 NULL); 677 NULL);
678 678
(...skipping 16 matching lines...) Expand all
695 EXPECT_EQ(ui::VKEY_UNKNOWN, accelerator.key_code()); 695 EXPECT_EQ(ui::VKEY_UNKNOWN, accelerator.key_code());
696 } 696 }
697 697
698 IN_PROC_BROWSER_TEST_F(CommandsApiTest, 698 IN_PROC_BROWSER_TEST_F(CommandsApiTest,
699 ShortcutAddedOnUpdateAfterBeingAssignedByUser) { 699 ShortcutAddedOnUpdateAfterBeingAssignedByUser) {
700 base::ScopedTempDir scoped_temp_dir; 700 base::ScopedTempDir scoped_temp_dir;
701 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 701 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
702 base::FilePath pem_path = test_data_dir_. 702 base::FilePath pem_path = test_data_dir_.
703 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 703 AppendASCII("keybinding").AppendASCII("keybinding.pem");
704 base::FilePath path_v1_unassigned = PackExtensionWithOptions( 704 base::FilePath path_v1_unassigned = PackExtensionWithOptions(
705 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 705 test_data_dir_.AppendASCII("keybinding")
706 .AppendASCII("v1_unassigned"), 706 .AppendASCII("update")
707 scoped_temp_dir.path().AppendASCII("v1_unassigned.crx"), 707 .AppendASCII("v1_unassigned"),
708 pem_path, 708 scoped_temp_dir.GetPath().AppendASCII("v1_unassigned.crx"), pem_path,
709 base::FilePath()); 709 base::FilePath());
710 base::FilePath path_v2 = PackExtensionWithOptions( 710 base::FilePath path_v2 =
711 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 711 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
712 .AppendASCII("v2"), 712 .AppendASCII("update")
713 scoped_temp_dir.path().AppendASCII("v2.crx"), 713 .AppendASCII("v2"),
714 pem_path, 714 scoped_temp_dir.GetPath().AppendASCII("v2.crx"),
715 base::FilePath()); 715 pem_path, base::FilePath());
716 716
717 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 717 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
718 CommandService* command_service = CommandService::Get(browser()->profile()); 718 CommandService* command_service = CommandService::Get(browser()->profile());
719 719
720 // Install v1 of the extension without keybinding assigned. 720 // Install v1 of the extension without keybinding assigned.
721 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1)); 721 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1));
722 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 722 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
723 NULL); 723 NULL);
724 724
725 // Verify it is set to nothing. 725 // Verify it is set to nothing.
(...skipping 18 matching lines...) Expand all
744 EXPECT_TRUE(accelerator.IsShiftDown()); 744 EXPECT_TRUE(accelerator.IsShiftDown());
745 EXPECT_TRUE(accelerator.IsAltDown()); 745 EXPECT_TRUE(accelerator.IsAltDown());
746 } 746 }
747 747
748 IN_PROC_BROWSER_TEST_F(CommandsApiTest, 748 IN_PROC_BROWSER_TEST_F(CommandsApiTest,
749 ShortcutChangedOnUpdateAfterBeingReassignedByUser) { 749 ShortcutChangedOnUpdateAfterBeingReassignedByUser) {
750 base::ScopedTempDir scoped_temp_dir; 750 base::ScopedTempDir scoped_temp_dir;
751 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 751 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
752 base::FilePath pem_path = test_data_dir_. 752 base::FilePath pem_path = test_data_dir_.
753 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 753 AppendASCII("keybinding").AppendASCII("keybinding.pem");
754 base::FilePath path_v1 = PackExtensionWithOptions( 754 base::FilePath path_v1 =
755 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 755 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
756 .AppendASCII("v1"), 756 .AppendASCII("update")
757 scoped_temp_dir.path().AppendASCII("v1.crx"), 757 .AppendASCII("v1"),
758 pem_path, 758 scoped_temp_dir.GetPath().AppendASCII("v1.crx"),
759 base::FilePath()); 759 pem_path, base::FilePath());
760 base::FilePath path_v2_reassigned = PackExtensionWithOptions( 760 base::FilePath path_v2_reassigned = PackExtensionWithOptions(
761 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 761 test_data_dir_.AppendASCII("keybinding")
762 .AppendASCII("v2_reassigned"), 762 .AppendASCII("update")
763 scoped_temp_dir.path().AppendASCII("v2_reassigned.crx"), 763 .AppendASCII("v2_reassigned"),
764 pem_path, 764 scoped_temp_dir.GetPath().AppendASCII("v2_reassigned.crx"), pem_path,
765 base::FilePath()); 765 base::FilePath());
766 766
767 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 767 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
768 CommandService* command_service = CommandService::Get(browser()->profile()); 768 CommandService* command_service = CommandService::Get(browser()->profile());
769 769
770 // Install v1 of the extension. 770 // Install v1 of the extension.
771 ASSERT_TRUE(InstallExtension(path_v1, 1)); 771 ASSERT_TRUE(InstallExtension(path_v1, 1));
772 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 772 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
773 NULL); 773 NULL);
774 774
(...skipping 24 matching lines...) Expand all
799 } 799 }
800 800
801 // Test that Media keys do not overwrite previous settings. 801 // Test that Media keys do not overwrite previous settings.
802 IN_PROC_BROWSER_TEST_F(CommandsApiTest, 802 IN_PROC_BROWSER_TEST_F(CommandsApiTest,
803 MediaKeyShortcutChangedOnUpdateAfterBeingReassignedByUser) { 803 MediaKeyShortcutChangedOnUpdateAfterBeingReassignedByUser) {
804 base::ScopedTempDir scoped_temp_dir; 804 base::ScopedTempDir scoped_temp_dir;
805 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 805 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
806 base::FilePath pem_path = test_data_dir_. 806 base::FilePath pem_path = test_data_dir_.
807 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 807 AppendASCII("keybinding").AppendASCII("keybinding.pem");
808 base::FilePath path_v1 = PackExtensionWithOptions( 808 base::FilePath path_v1 = PackExtensionWithOptions(
809 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 809 test_data_dir_.AppendASCII("keybinding")
810 .AppendASCII("mk_v1"), 810 .AppendASCII("update")
811 scoped_temp_dir.path().AppendASCII("mk_v1.crx"), 811 .AppendASCII("mk_v1"),
812 pem_path, 812 scoped_temp_dir.GetPath().AppendASCII("mk_v1.crx"), pem_path,
813 base::FilePath()); 813 base::FilePath());
814 base::FilePath path_v2_reassigned = PackExtensionWithOptions( 814 base::FilePath path_v2_reassigned = PackExtensionWithOptions(
815 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 815 test_data_dir_.AppendASCII("keybinding")
816 .AppendASCII("mk_v2"), 816 .AppendASCII("update")
817 scoped_temp_dir.path().AppendASCII("mk_v2.crx"), 817 .AppendASCII("mk_v2"),
818 pem_path, 818 scoped_temp_dir.GetPath().AppendASCII("mk_v2.crx"), pem_path,
819 base::FilePath()); 819 base::FilePath());
820 820
821 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 821 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
822 CommandService* command_service = CommandService::Get(browser()->profile()); 822 CommandService* command_service = CommandService::Get(browser()->profile());
823 823
824 // Install v1 of the extension. 824 // Install v1 of the extension.
825 ASSERT_TRUE(InstallExtension(path_v1, 1)); 825 ASSERT_TRUE(InstallExtension(path_v1, 1));
826 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 826 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
827 NULL); 827 NULL);
828 828
(...skipping 22 matching lines...) Expand all
851 EXPECT_TRUE(accelerator.IsShiftDown()); 851 EXPECT_TRUE(accelerator.IsShiftDown());
852 EXPECT_TRUE(accelerator.IsAltDown()); 852 EXPECT_TRUE(accelerator.IsAltDown());
853 } 853 }
854 854
855 IN_PROC_BROWSER_TEST_F(CommandsApiTest, 855 IN_PROC_BROWSER_TEST_F(CommandsApiTest,
856 ShortcutRemovedOnUpdateAfterBeingReassignedByUser) { 856 ShortcutRemovedOnUpdateAfterBeingReassignedByUser) {
857 base::ScopedTempDir scoped_temp_dir; 857 base::ScopedTempDir scoped_temp_dir;
858 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir()); 858 EXPECT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
859 base::FilePath pem_path = test_data_dir_. 859 base::FilePath pem_path = test_data_dir_.
860 AppendASCII("keybinding").AppendASCII("keybinding.pem"); 860 AppendASCII("keybinding").AppendASCII("keybinding.pem");
861 base::FilePath path_v1 = PackExtensionWithOptions( 861 base::FilePath path_v1 =
862 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 862 PackExtensionWithOptions(test_data_dir_.AppendASCII("keybinding")
863 .AppendASCII("v1"), 863 .AppendASCII("update")
864 scoped_temp_dir.path().AppendASCII("v1.crx"), 864 .AppendASCII("v1"),
865 pem_path, 865 scoped_temp_dir.GetPath().AppendASCII("v1.crx"),
866 base::FilePath()); 866 pem_path, base::FilePath());
867 base::FilePath path_v2_unassigned = PackExtensionWithOptions( 867 base::FilePath path_v2_unassigned = PackExtensionWithOptions(
868 test_data_dir_.AppendASCII("keybinding").AppendASCII("update") 868 test_data_dir_.AppendASCII("keybinding")
869 .AppendASCII("v2_unassigned"), 869 .AppendASCII("update")
870 scoped_temp_dir.path().AppendASCII("v2_unassigned.crx"), 870 .AppendASCII("v2_unassigned"),
871 pem_path, 871 scoped_temp_dir.GetPath().AppendASCII("v2_unassigned.crx"), pem_path,
872 base::FilePath()); 872 base::FilePath());
873 873
874 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile()); 874 ExtensionRegistry* registry = ExtensionRegistry::Get(browser()->profile());
875 CommandService* command_service = CommandService::Get(browser()->profile()); 875 CommandService* command_service = CommandService::Get(browser()->profile());
876 876
877 // Install v1 of the extension. 877 // Install v1 of the extension.
878 ASSERT_TRUE(InstallExtension(path_v1, 1)); 878 ASSERT_TRUE(InstallExtension(path_v1, 1));
879 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) != 879 EXPECT_TRUE(registry->GetExtensionById(kId, ExtensionRegistry::ENABLED) !=
880 NULL); 880 NULL);
881 881
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 964
965 extensions::ExtensionSystem::Get(browser()->profile()) 965 extensions::ExtensionSystem::Get(browser()->profile())
966 ->extension_service() 966 ->extension_service()
967 ->component_loader() 967 ->component_loader()
968 ->Remove("pkplfbidichfdicaijlchgnapepdginl"); 968 ->Remove("pkplfbidichfdicaijlchgnapepdginl");
969 969
970 ASSERT_TRUE(RunComponentExtensionTest("keybinding/component")) << message_; 970 ASSERT_TRUE(RunComponentExtensionTest("keybinding/component")) << message_;
971 } 971 }
972 972
973 } // namespace extensions 973 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698