Home
last modified time | relevance | path

Searched refs:CreateTestExtension (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/common/extensions/
Dextension_set_unittest.cc18 scoped_refptr<Extension> CreateTestExtension(const std::string& name, in CreateTestExtension() function
52 scoped_refptr<Extension> ext1(CreateTestExtension( in TEST()
55 scoped_refptr<Extension> ext2(CreateTestExtension( in TEST()
59 scoped_refptr<Extension> ext3(CreateTestExtension( in TEST()
63 CreateTestExtension("c", std::string(), std::string())); in TEST()
123 CreateTestExtension("d", std::string(), std::string())); in TEST()
125 CreateTestExtension("e", std::string(), std::string())); in TEST()
/external/chromium/chrome/common/extensions/
Dextension_set_unittest.cc16 scoped_refptr<Extension> CreateTestExtension(const std::string& name, in CreateTestExtension() function
50 scoped_refptr<Extension> ext1(CreateTestExtension( in TEST()
53 scoped_refptr<Extension> ext2(CreateTestExtension( in TEST()
57 scoped_refptr<Extension> ext3(CreateTestExtension( in TEST()
60 scoped_refptr<Extension> ext4(CreateTestExtension("c", "", "")); in TEST()
/external/chromium_org/chrome/renderer/extensions/
Drenderer_permissions_policy_delegate_unittest.cc39 scoped_refptr<const Extension> CreateTestExtension(const std::string& id) { in CreateTestExtension() function
57 scoped_refptr<const Extension> extension(CreateTestExtension("a")); in TEST_F()
73 scoped_refptr<const Extension> extension(CreateTestExtension("a")); in TEST_F()
82 CreateTestExtension(extension_misc::kWebStoreAppId)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dbrowser_permissions_policy_delegate_unittest.cc41 scoped_refptr<const Extension> CreateTestExtension(const std::string& id) { in CreateTestExtension() function
69 scoped_refptr<const Extension> extension(CreateTestExtension("a")); in TEST_F()
Dactive_tab_unittest.cc41 scoped_refptr<const Extension> CreateTestExtension( in CreateTestExtension() function
64 extension(CreateTestExtension("deadbeef", true, false)), in ActiveTabTest()
65 another_extension(CreateTestExtension("feedbeef", true, false)), in ActiveTabTest()
66 extension_without_active_tab(CreateTestExtension("badbeef", in ActiveTabTest()
69 extension_with_tab_capture(CreateTestExtension("cafebeef", in ActiveTabTest()
Dextension_protocols_unittest.cc30 scoped_refptr<Extension> CreateTestExtension(const std::string& name, in CreateTestExtension() function
166 CreateTestExtension(cases[i].name, cases[i].incognito_split_mode); in TEST_F()
302 scoped_refptr<Extension> extension = CreateTestExtension("foo", false); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/sessions/
Dsessions_apitest.cc80 void CreateTestExtension();
98 CreateTestExtension(); in SetUpOnMainThread()
137 void ExtensionSessionsTest::CreateTestExtension() { in CreateTestExtension() function in extensions::ExtensionSessionsTest
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client_unittest.cc85 scoped_refptr<const extensions::Extension> CreateTestExtension( in CreateTestExtension() function
112 return CreateTestExtension( in CreateExtension()
118 return CreateTestExtension(is_unrestricted, is_from_webstore, kHostedApp, in CreateHostedApp()