Home
last modified time | relevance | path

Searched refs:InstallExtension (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/chrome/browser/sync/test/integration/
Dtwo_client_extensions_sync_test.cc18 using extensions_helper::InstallExtension;
42 InstallExtension(GetProfile(0), i); in IN_PROC_BROWSER_TEST_F()
43 InstallExtension(GetProfile(1), i); in IN_PROC_BROWSER_TEST_F()
44 InstallExtension(verifier(), i); in IN_PROC_BROWSER_TEST_F()
59 InstallExtension(GetProfile(0), i); in IN_PROC_BROWSER_TEST_F()
60 InstallExtension(GetProfile(1), i); in IN_PROC_BROWSER_TEST_F()
61 InstallExtension(verifier(), i); in IN_PROC_BROWSER_TEST_F()
66 InstallExtension(GetProfile(0), i); in IN_PROC_BROWSER_TEST_F()
67 InstallExtension(verifier(), i); in IN_PROC_BROWSER_TEST_F()
72 InstallExtension(GetProfile(1), i); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsingle_client_extensions_sync_test.cc12 using extensions_helper::InstallExtension;
37 InstallExtension(GetProfile(0), i); in IN_PROC_BROWSER_TEST_F()
38 InstallExtension(verifier(), i); in IN_PROC_BROWSER_TEST_F()
51 InstallExtension(GetProfile(0), i); in IN_PROC_BROWSER_TEST_F()
52 InstallExtension(verifier(), i); in IN_PROC_BROWSER_TEST_F()
Dextensions_helper.cc56 std::string InstallExtension(Profile* profile, int index) { in InstallExtension() function
57 return SyncExtensionHelper::GetInstance()->InstallExtension( in InstallExtension()
65 InstallExtension(test()->GetProfile(i), index); in InstallExtensionForAllProfiles()
66 return InstallExtension(test()->verifier(), index); in InstallExtensionForAllProfiles()
Dextensions_helper.h32 std::string InstallExtension(Profile* profile, int index);
/external/chromium_org/chrome/browser/extensions/
Dextension_nacl_browsertest.cc58 const Extension* InstallExtension(const base::FilePath& file_path, in InstallExtension() function in __anon69b1fa720111::NaClExtensionTest
87 if (ExtensionBrowserTest::InstallExtension(file_path, 1)) { in InstallExtension()
96 const Extension* InstallExtension(InstallType install_type) { in InstallExtension() function in __anon69b1fa720111::NaClExtensionTest
98 return InstallExtension(file_path, install_type); in InstallExtension()
104 return InstallExtension(file_path, INSTALL_TYPE_FROM_WEBSTORE); in InstallHostedApp()
154 const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE); in IN_PROC_BROWSER_TEST_F()
164 const Extension* extension = InstallExtension(INSTALL_TYPE_NON_WEBSTORE); in IN_PROC_BROWSER_TEST_F()
174 const Extension* extension = InstallExtension(INSTALL_TYPE_COMPONENT); in IN_PROC_BROWSER_TEST_F()
185 const Extension* extension = InstallExtension(INSTALL_TYPE_UNPACKED); in IN_PROC_BROWSER_TEST_F()
197 const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE); in IN_PROC_BROWSER_TEST_F()
Dshared_module_service_unittest.cc60 testing::AssertionResult InstallExtension(const Extension* extension,
71 testing::AssertionResult SharedModuleServiceUnitTest::InstallExtension( in InstallExtension() function in extensions::SharedModuleServiceUnitTest
138 EXPECT_TRUE(InstallExtension(shared_module.get(), false)); in TEST_F()
144 EXPECT_TRUE(InstallExtension(importing_extension.get(), false)); in TEST_F()
177 EXPECT_TRUE(InstallExtension(shared_module_1.get(), false)); in TEST_F()
193 EXPECT_TRUE(InstallExtension(shared_module_2.get(), false)); in TEST_F()
202 EXPECT_TRUE(InstallExtension(importing_extension_1.get(), false)); in TEST_F()
210 EXPECT_TRUE(InstallExtension(importing_extension_2.get(), true)); in TEST_F()
223 EXPECT_TRUE(InstallExtension(importing_extension_3.get(), true)); in TEST_F()
257 EXPECT_TRUE(InstallExtension(shared_module.get(), false)); in TEST_F()
[all …]
Dshared_module_apitest.cc22 EXPECT_FALSE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
25 EXPECT_FALSE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
35 EXPECT_FALSE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
46 ASSERT_TRUE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
Dcrx_installer_browsertest.cc270 EXPECT_FALSE(InstallExtension(crx_path, 0)); in IN_PROC_BROWSER_TEST_F()
277 EXPECT_TRUE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
375 ASSERT_TRUE(InstallExtension(crx_path, 1)); in IN_PROC_BROWSER_TEST_F()
410 ASSERT_TRUE(InstallExtension(crx_path.AppendASCII("v1.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
472 EXPECT_FALSE(InstallExtension(crx_path, 0)); in IN_PROC_BROWSER_TEST_F()
497 EXPECT_FALSE(InstallExtension(crx_path, 0)); in IN_PROC_BROWSER_TEST_F()
506 EXPECT_TRUE(InstallExtension(crx_path, 1)); in IN_PROC_BROWSER_TEST_F()
521 const extensions::Extension* extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
563 EXPECT_FALSE(InstallExtension(crx_path, 0)); in IN_PROC_BROWSER_TEST_F()
586 const Extension* extension = InstallExtension(crx_path, 1); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_assets_manager.cc25 virtual void InstallExtension(const Extension* extension, in InstallExtension() function in extensions::__anonf448011e0111::ExtensionAssetsManagerImpl
30 callback.Run(file_util::InstallExtension( in InstallExtension()
Dextension_keybinding_apitest.cc458 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1)); in IN_PROC_BROWSER_TEST_F()
503 ASSERT_TRUE(InstallExtension(path_v1, 1)); in IN_PROC_BROWSER_TEST_F()
551 ASSERT_TRUE(InstallExtension(path_v1, 1)); in IN_PROC_BROWSER_TEST_F()
597 ASSERT_TRUE(InstallExtension(path_v1_unassigned, 1)); in IN_PROC_BROWSER_TEST_F()
647 ASSERT_TRUE(InstallExtension(path_v1, 1)); in IN_PROC_BROWSER_TEST_F()
700 ASSERT_TRUE(InstallExtension(path_v1, 1)); in IN_PROC_BROWSER_TEST_F()
Dextension_assets_manager.h35 virtual void InstallExtension(const Extension* extension,
Doptions_page_apitest.cc35 InstallExtension(test_data_dir_.AppendASCII("options.crx"), 1); in IN_PROC_BROWSER_TEST_F()
Dextension_loading_browsertest.cc55 InstallExtension(extension_dir.Pack(), 1 /*new install*/); in IN_PROC_BROWSER_TEST_F()
Dunpacked_installer.h107 void InstallExtension();
/external/chromium_org/extensions/browser/guest_view/extension_options/
Dextension_options_apitest.cc52 const Extension* embedder = InstallExtension(dir.AppendASCII("embedder"), 1); in IN_PROC_BROWSER_TEST_F()
53 const Extension* embedded = InstallExtension(dir.AppendASCII("embedded"), 1); in IN_PROC_BROWSER_TEST_F()
75 ASSERT_TRUE(InstallExtension(test_data_dir_.AppendASCII("extension_options") in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/infobars/
Dinfobars_browsertest.cc28 void InstallExtension(const char* filename) { in InstallExtension() function in InfoBarsTest
68 InstallExtension("theme.crx"); in IN_PROC_BROWSER_TEST_F()
80 InstallExtension("theme2.crx"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_browsertest.cc120 const Extension* extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
127 extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
137 const Extension* extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
140 ASSERT_FALSE(InstallExtension( in IN_PROC_BROWSER_TEST_F()
146 const Extension* extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
168 ASSERT_FALSE(InstallExtension(test_data_dir_.AppendASCII("good.crx"), 0)); in IN_PROC_BROWSER_TEST_F()
310 InstallExtension(basedir.AppendASCII("v1.crx"), 1); in IN_PROC_BROWSER_TEST_F()
399 InstallExtension(basedir.AppendASCII("v1.crx"), 1); in IN_PROC_BROWSER_TEST_F()
513 ASSERT_TRUE(InstallExtension(basedir.AppendASCII("v2.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
648 ASSERT_TRUE(InstallExtension(basedir.AppendASCII("v2.crx"), 1)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmanagement_api_browsertest.cc116 const Extension* extension = InstallExtension( in IN_PROC_BROWSER_TEST_F()
157 const Extension* app = InstallExtension( in IN_PROC_BROWSER_TEST_F()
237 ASSERT_TRUE(InstallExtension(path_v1, 1)); in SetUpOnMainThread()
/external/chromium_org/chrome/browser/apps/
Dephemeral_app_launcher_browsertest.cc282 const Extension* app = InstallExtension(GetTestPath(test_path), 1); in InstallAndDisableApp()
375 IN_PROC_BROWSER_TEST_F(EphemeralAppLauncherTest, InstallExtension) { in IN_PROC_BROWSER_TEST_F() argument
384 InstallExtension(GetTestPath(kExtensionTestPath), 1); in IN_PROC_BROWSER_TEST_F()
402 InstallExtension(GetTestPath(kLegacyAppTestPath), 1); in IN_PROC_BROWSER_TEST_F()
516 const Extension* app = InstallExtension(GetTestPath(kDefaultAppTestPath), 1); in IN_PROC_BROWSER_TEST_F()
530 const Extension* app = InstallExtension(GetTestPath(kDefaultAppTestPath), 1); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/performance/
Dextensions_sync_perf_test.cc16 using extensions_helper::InstallExtension;
50 InstallExtension(GetProfile(profile), extension_number_++); in AddExtensions()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_settings_browsertest.cc56 InstallExtension(extensions_data_dir.AppendASCII("good.crx")); in InstallGoodExtension()
74 const Extension* ExtensionSettingsUIBrowserTest::InstallExtension( in InstallExtension() function in ExtensionSettingsUIBrowserTest
Dextension_settings_browsertest.h36 const extensions::Extension* InstallExtension(const base::FilePath& path);
/external/chromium_org/chrome/browser/extensions/api/commands/
Dcommand_service_browsertest.cc63 ASSERT_TRUE(InstallExtension(path_v1, 1)); in IN_PROC_BROWSER_TEST_F()
97 const Extension* extension = InstallExtension(extension_dir, 1); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/developer_private/
Ddeveloper_private_apitest.cc31 const Extension* extension = InstallExtension(path.AppendASCII(name), 1, in InstallNamedExtension()
/external/chromium_org/chrome/browser/themes/
Dtheme_service_browsertest.cc57 InstallExtension(test_data_dir_.AppendASCII("theme"), 1); in IN_PROC_BROWSER_TEST_F()

123