Home
last modified time | relevance | path

Searched refs:ExtensionBuilder (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/extensions/common/
Dextension_builder.cc11 ExtensionBuilder::ExtensionBuilder() in ExtensionBuilder() function in extensions::ExtensionBuilder
15 ExtensionBuilder::~ExtensionBuilder() {} in ~ExtensionBuilder()
17 scoped_refptr<Extension> ExtensionBuilder::Build() { in Build()
30 ExtensionBuilder& ExtensionBuilder::SetPath(const base::FilePath& path) { in SetPath()
35 ExtensionBuilder& ExtensionBuilder::SetLocation(Manifest::Location location) { in SetLocation()
40 ExtensionBuilder& ExtensionBuilder::SetManifest( in SetManifest()
46 ExtensionBuilder& ExtensionBuilder::MergeManifest(DictionaryBuilder& builder) { in MergeManifest()
51 ExtensionBuilder& ExtensionBuilder::AddFlags(int init_from_value_flags) { in AddFlags()
56 ExtensionBuilder& ExtensionBuilder::SetID(const std::string& id) { in SetID()
Dextension_builder.h20 class ExtensionBuilder {
22 ExtensionBuilder();
23 ~ExtensionBuilder();
31 ExtensionBuilder& Pass() { return *this; } in Pass()
34 ExtensionBuilder& SetPath(const base::FilePath& path);
37 ExtensionBuilder& SetLocation(Manifest::Location location);
39 ExtensionBuilder& SetManifest(scoped_ptr<base::DictionaryValue> manifest);
40 ExtensionBuilder& SetManifest(DictionaryBuilder& manifest_builder) { in SetManifest()
46 ExtensionBuilder& MergeManifest(DictionaryBuilder& builder);
48 ExtensionBuilder& AddFlags(int init_from_value_flags);
[all …]
Dmanifest_handler_unittest.cc192 scoped_refptr<Extension> extension = ExtensionBuilder() in TEST_F()
253 scoped_refptr<Extension> extension = ExtensionBuilder() in TEST_F()
/external/chromium_org/chrome/common/extensions/
Dextension_test_util.h21 ExtensionBuilder& BuildExtension(ExtensionBuilder& builder);
22 ExtensionBuilder& BuildExtensionWithPermissions(ExtensionBuilder& builder,
Dextension_test_util.cc19 using extensions::ExtensionBuilder;
26 ExtensionBuilder& BuildExtension(ExtensionBuilder& builder) { in BuildExtension()
34 ExtensionBuilder& BuildExtensionWithPermissions(ExtensionBuilder& builder, in BuildExtensionWithPermissions()
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_manifest_unittest.cc20 using extensions::ExtensionBuilder;
30 ExtensionBuilder() in TEST_F()
51 ExtensionBuilder() in TEST_F()
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
Dfile_browser_handler_manifest_unittest.cc19 using extensions::ExtensionBuilder;
58 ExtensionBuilder() in TEST_F()
93 ExtensionBuilder() in TEST_F()
123 ExtensionBuilder() in TEST_F()
/external/chromium_org/chrome/common/extensions/api/extension_action/
Dbrowser_action_manifest_unittest.cc26 ExtensionBuilder() in TEST_F()
45 ExtensionBuilder() in TEST_F()
69 ExtensionBuilder() in TEST_F()
Dscript_badge_manifest_unittest.cc40 ExtensionBuilder() in TEST_F()
82 ExtensionBuilder() in TEST_F()
121 ExtensionBuilder() in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dscript_bubble_controller_unittest.cc93 ExtensionBuilder() in TEST_F()
104 ExtensionBuilder() in TEST_F()
115 ExtensionBuilder() in TEST_F()
Dextension_context_menu_model_unittest.cc30 scoped_refptr<Extension> extension = ExtensionBuilder() in TEST_F()
Dscript_badge_controller_unittest.cc85 scoped_refptr<const Extension> extension = ExtensionBuilder() in AddTestExtension()
230 ExtensionBuilder() in TEST_F()
Dbrowser_permissions_policy_delegate_unittest.cc42 return ExtensionBuilder() in CreateTestExtension()
Dtest_extension_environment.cc86 ExtensionBuilder().SetManifest(manifest.Pass()).Build(); in MakeExtension()
Dpage_action_controller_unittest.cc75 ExtensionBuilder() in TEST_F()
Dwebstore_startup_installer_browsertest.cc37 using extensions::ExtensionBuilder;
148 scoped_refptr<const Extension> hosted_app = ExtensionBuilder() in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_tasks_unittest.cc385 extensions::ExtensionBuilder foo_app; in TEST_F()
410 extensions::ExtensionBuilder bar_app; in TEST_F()
487 extensions::ExtensionBuilder foo_app; in TEST_F()
505 extensions::ExtensionBuilder bar_app; in TEST_F()
565 extensions::ExtensionBuilder foo_app; in TEST_F()
590 extensions::ExtensionBuilder bar_app; in TEST_F()
680 extensions::ExtensionBuilder bar_app; in TEST_F()
699 extensions::ExtensionBuilder files_app; in TEST_F()
/external/chromium_org/extensions/browser/
Dlazy_background_task_queue_unittest.cc60 scoped_refptr<Extension> extension = ExtensionBuilder() in CreateSimpleExtension()
73 scoped_refptr<Extension> extension = ExtensionBuilder() in CreateLazyBackgroundExtension()
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_enabled_unittest.cc149 ExtensionBuilder() in TEST_F()
202 ExtensionBuilder() in TEST_F()
251 ExtensionBuilder() in TEST_F()
Dfullstream_ui_policy_unittest.cc242 ExtensionBuilder() in TEST_F()
263 ExtensionBuilder() in TEST_F()
301 ExtensionBuilder() in TEST_F()
399 ExtensionBuilder() in TEST_F()
742 ExtensionBuilder() in TEST_F()
Dactivity_log_unittest.cc195 ExtensionBuilder() in TEST_F()
308 ExtensionBuilder() in TEST_F()
/external/chromium_org/chrome/renderer/extensions/
Drenderer_permissions_policy_delegate_unittest.cc40 return ExtensionBuilder() in CreateTestExtension()
/external/chromium_org/chrome/browser/managed_mode/
Dmanaged_user_service_unittest.cc194 extensions::ExtensionBuilder builder; in MakeThemeExtension()
205 extensions::ExtensionBuilder builder; in MakeExtension()
/external/chromium_org/chrome/browser/extensions/api/declarative/
Ddeclarative_rule_unittest.cc328 scoped_refptr<Extension> extension = ExtensionBuilder() in TEST()
385 scoped_refptr<Extension> extension = ExtensionBuilder() in TEST()
/external/chromium_org/chrome/common/extensions/api/
Dextension_api_unittest.cc256 scoped_refptr<const Extension> app = ExtensionBuilder() in TEST()
264 scoped_refptr<const Extension> extension = ExtensionBuilder() in TEST()
878 BuildExtension(ExtensionBuilder().Pass()).Build(); in TEST()
897 BuildExtension(ExtensionBuilder().Pass()) in TEST()

12