Searched refs:DictionaryBuilder (Results 1 - 25 of 65) sorted by relevance

123

/external/chromium_org/extensions/common/
H A Dvalue_builder.cc9 // DictionaryBuilder
11 DictionaryBuilder::DictionaryBuilder() : dict_(new base::DictionaryValue) {} function in class:extensions::DictionaryBuilder
13 DictionaryBuilder::DictionaryBuilder(const base::DictionaryValue& init) function in class:extensions::DictionaryBuilder
16 DictionaryBuilder::~DictionaryBuilder() {}
18 DictionaryBuilder& DictionaryBuilder::Set(const std::string& path,
24 DictionaryBuilder
[all...]
H A Dvalue_builder.h19 // DictionaryBuilder().Set("key", ListBuilder()
46 class DictionaryBuilder { class in namespace:extensions
48 DictionaryBuilder();
49 explicit DictionaryBuilder(const base::DictionaryValue& init);
50 ~DictionaryBuilder();
54 DictionaryBuilder& Pass() { return *this; }
59 DictionaryBuilder& Set(const std::string& path, int in_value);
60 DictionaryBuilder& Set(const std::string& path, double in_value);
61 DictionaryBuilder& Set(const std::string& path, const std::string& in_value);
62 DictionaryBuilder
[all...]
H A Dtest_util.cc16 .SetManifest(DictionaryBuilder()
25 DictionaryBuilder().Set("name", "Test").Set("version", "1.0"))
32 DictionaryBuilder().Set("name", "test").Set("version", "0.1"))
H A Dextension_builder.h42 ExtensionBuilder& SetManifest(DictionaryBuilder& manifest_builder) {
46 // Adds the keys from the DictionaryBuilder to the manifest, with new keys
48 ExtensionBuilder& MergeManifest(DictionaryBuilder& builder);
/external/chromium_org/chrome/browser/extensions/api/omnibox/
H A Domnibox_unittest.cc47 .Append(DictionaryBuilder()
51 .Append(DictionaryBuilder()
55 .Append(DictionaryBuilder()
78 .Append(DictionaryBuilder()
82 .Append(DictionaryBuilder()
86 .Append(DictionaryBuilder()
110 .Append(DictionaryBuilder()
114 .Append(DictionaryBuilder()
118 .Append(DictionaryBuilder()
122 .Append(DictionaryBuilder()
[all...]
/external/chromium_org/chrome/common/extensions/api/extension_action/
H A Dbrowser_action_manifest_unittest.cc27 .SetManifest(DictionaryBuilder()
31 .Set("browser_action", DictionaryBuilder()
46 .SetManifest(DictionaryBuilder()
50 .Set("browser_action", DictionaryBuilder()
70 .SetManifest(DictionaryBuilder()
74 .Set("browser_action", DictionaryBuilder()
75 .Set("default_icon", DictionaryBuilder()
97 scoped_ptr<base::DictionaryValue> manifest_value = DictionaryBuilder()
101 DictionaryBuilder().Set(
103 DictionaryBuilder()
[all...]
/external/chromium_org/extensions/browser/value_store/
H A Dvalue_store_change_unittest.cc15 using extensions::DictionaryBuilder;
60 scoped_ptr<base::DictionaryValue> value = DictionaryBuilder()
63 .Set("tricked", DictionaryBuilder()
78 DictionaryBuilder v1(*value);
79 DictionaryBuilder v2(*value);
80 DictionaryBuilder v3(*value);
81 DictionaryBuilder v4(*value);
82 scoped_ptr<base::DictionaryValue> expected_from_json = DictionaryBuilder()
83 .Set("key", DictionaryBuilder()
86 .Set("key.with.dots", DictionaryBuilder()
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_action_manager_unittest.cc32 scoped_refptr<Extension> BuildExtension(DictionaryBuilder& extension_icons,
33 DictionaryBuilder& action,
72 DictionaryBuilder& extension_icons,
73 DictionaryBuilder& action,
77 .SetManifest(DictionaryBuilder().Set("version", "1")
118 DictionaryBuilder().Set("48", "icon48.png")
120 DictionaryBuilder().Pass(),
133 DictionaryBuilder().Set("24", "icon24.png"),
134 DictionaryBuilder().Pass(),
147 DictionaryBuilder()
[all...]
H A Dshared_module_service_unittest.cc32 DictionaryBuilder builder;
38 ListBuilder().Append(DictionaryBuilder().Set("id", import_id)));
124 DictionaryBuilder()
129 DictionaryBuilder().Set("resources",
164 DictionaryBuilder()
169 DictionaryBuilder().Set("resources",
180 DictionaryBuilder()
185 DictionaryBuilder().Set("resources",
240 DictionaryBuilder()
245 DictionaryBuilder()
[all...]
H A Dextension_web_ui_unittest.cc61 DictionaryBuilder manifest;
65 DictionaryBuilder().Set("bookmarks", "1.html"));
81 DictionaryBuilder manifest2;
85 DictionaryBuilder().Set("bookmarks", "2.html"));
H A Dextension_install_prompt_unittest.cc51 DictionaryBuilder().Set("name", "foo")
81 DictionaryBuilder().Set("name", "foo")
H A Dbrowser_permissions_policy_delegate_unittest.cc45 .SetManifest(DictionaryBuilder()
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_manifest_unittest.cc18 using extensions::DictionaryBuilder;
33 DictionaryBuilder()
53 DictionaryBuilder()
/external/chromium_org/chrome/browser/policy/
H A Dmanaged_bookmarks_policy_handler_unittest.cc79 .Append(extensions::DictionaryBuilder()
82 .Append(extensions::DictionaryBuilder()
85 .Append(extensions::DictionaryBuilder()
88 .Append(extensions::DictionaryBuilder()
91 .Append(extensions::DictionaryBuilder()
94 .Append(extensions::DictionaryBuilder()
97 .Append(extensions::DictionaryBuilder()
152 .Append(extensions::DictionaryBuilder()
194 .Append(extensions::DictionaryBuilder()
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
H A DV8CryptoKeyCustom.cpp16 class DictionaryBuilder : public blink::WebCryptoKeyAlgorithmDictionary { class in namespace:blink
18 DictionaryBuilder(v8::Handle<v8::Object> holder, v8::Isolate* isolate) function in class:blink::DictionaryBuilder
62 DictionaryBuilder builder(info.Holder(), info.GetIsolate());
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
H A Dapp_info_permissions_panel_unittest.cc40 return extensions::DictionaryBuilder()
45 extensions::DictionaryBuilder().Set(
47 extensions::DictionaryBuilder().Set(
78 .MergeManifest(extensions::DictionaryBuilder().Set(
108 .MergeManifest(extensions::DictionaryBuilder().Set(
135 .MergeManifest(extensions::DictionaryBuilder().Set(
138 extensions::DictionaryBuilder().Set(
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
H A Dfile_browser_handler_manifest_unittest.cc17 using extensions::DictionaryBuilder;
59 .SetManifest(DictionaryBuilder()
64 .Append(DictionaryBuilder()
95 .SetManifest(DictionaryBuilder()
100 .Append(DictionaryBuilder()
124 .SetManifest(DictionaryBuilder()
129 .Append(DictionaryBuilder()
/external/chromium_org/chrome/browser/metrics/
H A Dextensions_metrics_provider_unittest.cc51 .SetManifest(extensions::DictionaryBuilder()
59 .SetManifest(extensions::DictionaryBuilder()
67 .SetManifest(extensions::DictionaryBuilder()
/external/chromium_org/extensions/common/features/
H A Dcomplex_feature_unittest.cc25 DictionaryBuilder()
34 rule = DictionaryBuilder()
86 DictionaryBuilder()
95 rule = DictionaryBuilder()
H A Dbase_feature_provider_unittest.cc45 .SetManifest(DictionaryBuilder()
99 .SetManifest(DictionaryBuilder()
103 DictionaryBuilder().Set(
105 DictionaryBuilder().Set(
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_tasks_unittest.cc383 foo_app.SetManifest(extensions::DictionaryBuilder()
388 extensions::DictionaryBuilder()
390 extensions::DictionaryBuilder()
395 extensions::DictionaryBuilder()
397 extensions::DictionaryBuilder()
408 bar_app.SetManifest(extensions::DictionaryBuilder()
413 extensions::DictionaryBuilder()
415 extensions::DictionaryBuilder()
420 extensions::DictionaryBuilder()
422 extensions::DictionaryBuilder()
[all...]
/external/chromium_org/chrome/common/
H A Dpepper_permission_util_unittest.cc28 DictionaryBuilder()
33 ListBuilder().Append(DictionaryBuilder().Set("id", import_id)))
51 DictionaryBuilder()
88 DictionaryBuilder()
93 DictionaryBuilder()
/external/chromium_org/extensions/browser/
H A Druntime_data_unittest.cc24 DictionaryBuilder()
27 .Set("background", DictionaryBuilder().Set("page", "bg.html")))
H A Dlazy_background_task_queue_unittest.cc94 .SetManifest(DictionaryBuilder()
107 .SetManifest(DictionaryBuilder()
112 DictionaryBuilder()
/external/chromium_org/chrome/browser/ui/location_bar/
H A Dlocation_bar_browsertest.cc148 extensions::DictionaryBuilder chrome_ui_overrides;
151 extensions::DictionaryBuilder().SetBoolean("remove_button", true));
154 SetManifest(extensions::DictionaryBuilder().

Completed in 251 milliseconds

123