Searched refs:ListBuilder (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/extensions/common/
H A Dvalue_builder.cc49 ListBuilder& in_value) {
60 // ListBuilder
62 ListBuilder::ListBuilder() : list_(new base::ListValue) {} function in class:extensions::ListBuilder
63 ListBuilder::ListBuilder(const base::ListValue& init) : list_(init.DeepCopy()) { function in class:extensions::ListBuilder
65 ListBuilder::~ListBuilder() {}
67 ListBuilder& ListBuilder
[all...]
H A Dvalue_builder.h19 // DictionaryBuilder().Set("key", ListBuilder()
44 class ListBuilder;
65 DictionaryBuilder& Set(const std::string& path, ListBuilder& in_value);
75 class ListBuilder { class in namespace:extensions
77 ListBuilder();
78 explicit ListBuilder(const base::ListValue& init);
79 ~ListBuilder();
83 ListBuilder& Pass() { return *this; }
88 ListBuilder& Append(int in_value);
89 ListBuilder
[all...]
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_manifest_unittest.cc21 using extensions::ListBuilder;
37 .Set("mime_types", ListBuilder().Append("text/plain")))
57 .Set("mime_types", ListBuilder().Append("text/plain")))
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_unittest.cc44 scoped_ptr<base::ListValue> list = ListBuilder()
46 .Append(ListBuilder()
50 .Set("descriptionStyles", ListBuilder()
75 scoped_ptr<base::ListValue> swap_list = ListBuilder()
77 .Append(ListBuilder()
81 .Set("descriptionStyles", ListBuilder()
107 scoped_ptr<base::ListValue> list = ListBuilder()
109 .Append(ListBuilder()
113 .Set("descriptionStyles", ListBuilder()
152 scoped_ptr<base::ListValue> moved_list = ListBuilder()
[all...]
/external/chromium_org/extensions/common/features/
H A Dcomplex_feature_unittest.cc26 .Set("whitelist", ListBuilder().Append(kIdFoo))
27 .Set("extension_types", ListBuilder()
35 .Set("whitelist", ListBuilder().Append(kIdBar))
36 .Set("extension_types", ListBuilder()
88 ListBuilder().Append("manifest:content_security_policy"))
96 .Set("dependencies", ListBuilder().Append("permission:serial"))
H A Dbase_feature_provider_unittest.cc107 ListBuilder().Append("background.js"))))
108 .Set("permissions", ListBuilder().Append("power")))
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
H A Dfile_browser_handler_manifest_unittest.cc20 using extensions::ListBuilder;
63 .Set("file_browser_handlers", ListBuilder()
68 .Set("file_filters", ListBuilder()
99 .Set("file_browser_handlers", ListBuilder()
104 .Set("file_filters", ListBuilder()
128 .Set("file_browser_handlers", ListBuilder()
133 .Set("file_filters", ListBuilder()
135 .Set("file_access", ListBuilder()
/external/chromium_org/chrome/browser/policy/
H A Dmanaged_bookmarks_policy_handler_unittest.cc78 extensions::ListBuilder()
84 .Set("children", extensions::ListBuilder().Pass()))
87 .Set("children", extensions::ListBuilder()
96 .Set("children", extensions::ListBuilder()
151 extensions::ListBuilder()
193 extensions::ListBuilder()
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
H A Dapp_info_permissions_panel_unittest.cc49 extensions::ListBuilder().Append("background.js"))))
80 extensions::ListBuilder()
110 extensions::ListBuilder()
137 extensions::ListBuilder().Append(
140 extensions::ListBuilder().Append("retainEntries")))))
/external/chromium_org/chrome/browser/extensions/
H A Dshared_module_service_unittest.cc38 ListBuilder().Append(DictionaryBuilder().Set("id", import_id)));
130 ListBuilder().Append("foo.js"))).Build();
170 ListBuilder().Append("foo.js"))).Build();
186 ListBuilder().Append("foo.js"))).Build();
246 ListBuilder()
249 ListBuilder().Append("*"))).Build();
H A Dbrowser_permissions_policy_delegate_unittest.cc49 .Set("permissions", ListBuilder().Append("<all_urls>")))
H A Dextension_install_prompt_unittest.cc75 ListBuilder permissions;
H A Dextension_ui_unittest.cc81 ListBuilder& permissions) {
325 "all_urls", ListBuilder().Append(kAllHostsPermission).Pass());
327 CreateExtension("no urls", ListBuilder().Pass());
376 "all_urls_II", ListBuilder().Append(kAllHostsPermission).Pass());
H A Dpermissions_updater_unittest.cc41 ListBuilder scriptable_host_list;
48 ListBuilder explicit_host_list;
57 .Set("js", ListBuilder().Append("foo.js"));
67 .Set("content_scripts", ListBuilder().Append(script.Pass()))
H A Dwebstore_startup_installer_browsertest.cc40 using extensions::ListBuilder;
156 .Set("urls", ListBuilder().Append(kInstallUrl.spec()))
H A Dlocation_bar_controller_unittest.cc73 .Set("permissions", ListBuilder().Append("tabs"));
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_tasks_unittest.cc392 extensions::ListBuilder()
400 extensions::ListBuilder()
417 extensions::ListBuilder()
425 extensions::ListBuilder()
443 extensions::ListBuilder().Append("background.js"))))
449 extensions::ListBuilder().Append("text/plain")))));
526 extensions::ListBuilder()
531 extensions::ListBuilder()
544 extensions::ListBuilder()
549 extensions::ListBuilder()
[all...]
/external/chromium_org/chrome/common/
H A Dpepper_permission_util_unittest.cc33 ListBuilder().Append(DictionaryBuilder().Set("id", import_id)))
94 .Set("resources", ListBuilder().Append("*"))
97 .Set("whitelist", ListBuilder().Append(whitelisted_id)))
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dad_injection_unittest.cc25 action->set_args(ListBuilder()
H A Dactivity_log_policy_unittest.cc50 ListBuilder().Append("arg"))
/external/chromium_org/chrome/common/extensions/features/
H A Dchrome_channel_feature_filter_unittest.cc182 ListBuilder()
184 "extension_types", ListBuilder().Append("extension")))
187 ListBuilder().Append("legacy_packaged_app"))))
239 .Set("extension_types", ListBuilder().Append("extension"))
249 .Set("extension_types", ListBuilder().Append("legacy_packaged_app"))
/external/chromium_org/chrome/renderer/extensions/
H A Drenderer_permissions_policy_delegate_unittest.cc56 .Set("permissions", ListBuilder().Append("<all_urls>")))
/external/chromium_org/chrome/browser/extensions/api/debugger/
H A Ddebugger_apitest.cc67 ListBuilder().Append("debugger"))).Build();
/external/chromium_org/extensions/browser/value_store/
H A Dvalue_store_change_unittest.cc16 using extensions::ListBuilder;
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dsettings_apitest.cc499 .Set("list-policy", extensions::ListBuilder()
504 .Set("list", extensions::ListBuilder()

Completed in 533 milliseconds

12