Home
last modified time | relevance | path

Searched refs:FromValue (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/chrome/common/extensions/permissions/
Dmedia_galleries_permission_unittest.cc32 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
39 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
44 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
49 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
54 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
60 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
66 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
75 EXPECT_TRUE(permission->FromValue(value.get())); in TEST()
86 EXPECT_FALSE(permission->FromValue(value.get())); in TEST()
91 EXPECT_FALSE(permission->FromValue(value.get())); in TEST()
[all …]
Dbluetooth_permission.cc28 bool BluetoothPermission::FromValue(const base::Value* value) { in FromValue() function in extensions::BluetoothPermission
39 BluetoothPermission>::FromValue(value)) { in FromValue()
Dmedia_galleries_permission.cc47 bool MediaGalleriesPermission::FromValue(const base::Value* value) { in FromValue() function in extensions::MediaGalleriesPermission
49 MediaGalleriesPermission>::FromValue(value)) { in FromValue()
Dbluetooth_permission.h35 virtual bool FromValue(const base::Value* value) OVERRIDE;
Dmedia_galleries_permission_data.h34 bool FromValue(const base::Value* value);
Dmedia_galleries_permission.h40 virtual bool FromValue(const base::Value* value) OVERRIDE;
Dbluetooth_permission_data.h36 bool FromValue(const base::Value* value);
Dusb_device_permission_data.h50 bool FromValue(const base::Value* value);
Dsocket_permission_data.h56 bool FromValue(const base::Value* value);
Dset_disjunction_permission.h113 virtual bool FromValue(const base::Value* value) OVERRIDE { in FromValue() function
129 if (!data.FromValue(item_value)) in FromValue()
/external/chromium_org/chrome/common/extensions/api/sockets/
Dsockets_manifest_permission_unittest.cc52 SocketsManifestPermission::FromValue(value, &error16)); in PermissionFromValue()
182 EXPECT_TRUE(permission2->FromValue(value.get())); in TEST()
290 EXPECT_TRUE(permission1->FromValue(udp_send.get())); in TEST()
295 EXPECT_TRUE(permission2->FromValue(udp_bind.get())); in TEST()
300 EXPECT_TRUE(permission3->FromValue(tcp_connect.get())); in TEST()
305 EXPECT_TRUE(permission4->FromValue(tcp_server_listen.get())); in TEST()
313 EXPECT_TRUE(permission1_1->FromValue(value1.get())); in TEST()
320 EXPECT_TRUE(permission2_1->FromValue(value2.get())); in TEST()
327 EXPECT_TRUE(permission3_1->FromValue(value3.get())); in TEST()
334 EXPECT_TRUE(permission4_1->FromValue(value4.get())); in TEST()
Dsockets_manifest_data.cc39 scoped_ptr<SocketsManifestData> SocketsManifestData::FromValue( in FromValue() function in extensions::SocketsManifestData
43 SocketsManifestPermission::FromValue(value, error); in FromValue()
Dsockets_manifest_permission.h33 static scoped_ptr<SocketsManifestPermission> FromValue(
47 virtual bool FromValue(const base::Value* value) OVERRIDE;
Dsockets_manifest_permission.cc93 scoped_ptr<SocketsManifestPermission> SocketsManifestPermission::FromValue( in FromValue() function in extensions::SocketsManifestPermission
96 scoped_ptr<Sockets> sockets = Sockets::FromValue(value, error); in FromValue()
176 bool SocketsManifestPermission::FromValue(const base::Value* value) { in FromValue() function in extensions::SocketsManifestPermission
181 SocketsManifestPermission::FromValue(*value, &error)); in FromValue()
Dsockets_manifest_data.h40 static scoped_ptr<SocketsManifestData> FromValue(
Dsockets_manifest_handler.cc23 SocketsManifestData::FromValue(*sockets, error); in Parse()
/external/chromium_org/extensions/common/permissions/
Dapi_permission_set_unittest.cc51 if (!permission->FromValue(value.get())) { in TEST()
86 if (!permission->FromValue(value.get())) { in TEST()
104 if (!permission->FromValue(value.get())) { in TEST()
143 if (!permission->FromValue(value.get())) { in TEST()
171 if (!permission->FromValue(value.get())) { in TEST()
183 if (!permission->FromValue(value.get())) { in TEST()
221 if (!permission->FromValue(value.get())) { in TEST()
241 if (!permission->FromValue(value.get())) { in TEST()
253 if (!permission->FromValue(value.get())) { in TEST()
289 if (!permission->FromValue(value.get())) { in TEST()
/external/chromium_org/tools/json_schema_compiler/test/
Dchoices_unittest.cc178 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
192 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
208 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
224 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
242 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
272 scoped_ptr<NestedChoice> obj = NestedChoice::FromValue(*value); in TEST()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dexternally_connectable.cc65 ExternallyConnectableInfo::FromValue(*externally_connectable, in Parse()
91 scoped_ptr<ExternallyConnectableInfo> ExternallyConnectableInfo::FromValue( in FromValue() function in extensions::ExternallyConnectableInfo
96 ExternallyConnectable::FromValue(value, error); in FromValue()
/external/chromium_org/cc/debug/
Drendering_stats.cc23 return TracedValue::FromValue(record_data.release()); in AsTraceableData()
44 return TracedValue::FromValue(record_data.release()); in AsTraceableData()
Dtraced_value.h29 static scoped_refptr<base::debug::ConvertableToTraceFormat> FromValue(
/external/chromium_org/ui/events/
Dlatency_info.cc62 static scoped_refptr<ConvertableToTraceFormat> FromValue(
77 LatencyInfoTracedValue::FromValue(scoped_ptr<base::Value> value) { in FromValue() function in __anona4a752b50111::LatencyInfoTracedValue
109 return LatencyInfoTracedValue::FromValue(record_data.PassAs<base::Value>()); in AsTraceableData()
/external/chromium_org/chrome/browser/performance_monitor/
Devent.h34 static scoped_ptr<Event> FromValue(scoped_ptr<base::DictionaryValue> data);
Devent.cc20 scoped_ptr<Event> Event::FromValue(scoped_ptr<base::DictionaryValue> data) { in FromValue() function in performance_monitor::Event
/external/chromium_org/cc/resources/
Dimage_raster_worker_pool.cc157 "state", TracedValue::FromValue(StateAsValue().release())); in ScheduleTasks()
180 "state", TracedValue::FromValue(StateAsValue().release())); in OnRasterTasksRequiredForActivationFinished()

123