Home
last modified time | relevance | path

Searched refs:DialDeviceData (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_device_data.cc11 DialDeviceData::DialDeviceData() : max_age_(-1), config_id_(-1) { } in DialDeviceData() function in extensions::DialDeviceData
13 DialDeviceData::DialDeviceData(const std::string& device_id, in DialDeviceData() function in extensions::DialDeviceData
20 DialDeviceData::~DialDeviceData() { } in ~DialDeviceData()
22 const GURL& DialDeviceData::device_description_url() const { in device_description_url()
26 void DialDeviceData::set_device_description_url(const GURL& url) { in set_device_description_url()
31 bool DialDeviceData::IsDeviceDescriptionUrl(const GURL& url) { in IsDeviceDescriptionUrl()
35 bool DialDeviceData::UpdateFrom(const DialDeviceData& new_data) { in UpdateFrom()
47 void DialDeviceData::FillDialDevice(api::dial::DialDevice* device) const { in FillDialDevice()
Ddial_device_data_unittest.cc14 void ExpectEqual(const DialDeviceData& first, const DialDeviceData& second) { in ExpectEqual()
28 DialDeviceData device; in TEST()
42 DialDeviceData original; in TEST()
50 DialDeviceData new_data; in TEST()
57 DialDeviceData original_1(original); in TEST()
61 DialDeviceData original_2(original); in TEST()
74 DialDeviceData original_3(original); in TEST()
89 EXPECT_TRUE(DialDeviceData::IsDeviceDescriptionUrl( in TEST()
91 EXPECT_TRUE(DialDeviceData::IsDeviceDescriptionUrl( in TEST()
93 EXPECT_TRUE(DialDeviceData::IsDeviceDescriptionUrl( in TEST()
[all …]
Ddial_device_data.h26 class DialDeviceData {
28 DialDeviceData();
29 DialDeviceData(const std::string& device_id,
32 ~DialDeviceData();
34 bool operator==(const DialDeviceData& other_data) const {
70 bool UpdateFrom(const DialDeviceData& new_data);
Ddial_registry.h32 typedef std::vector<DialDeviceData> DeviceList;
86 typedef base::hash_map<std::string, linked_ptr<DialDeviceData> >
88 typedef std::map<std::string, linked_ptr<DialDeviceData> > DeviceByLabelMap;
93 const DialDeviceData& device) OVERRIDE;
120 bool MaybeAddDevice(const linked_ptr<DialDeviceData>& device_data);
128 bool IsDeviceExpired(const DialDeviceData& device) const;
Ddial_service.h30 class DialDeviceData; variable
70 const DialDeviceData& device) = 0;
122 const base::Callback<void(const DialDeviceData&)>& device_discovered_cb,
169 DialDeviceData* device);
187 base::Callback<void(const DialDeviceData&)> device_discovered_cb_;
233 void NotifyOnDeviceDiscovered(const DialDeviceData& device_data);
Ddial_apitest.cc17 using extensions::DialDeviceData;
58 DialDeviceData device1; in IN_PROC_BROWSER_TEST_F()
66 DialDeviceData device2; in IN_PROC_BROWSER_TEST_F()
74 DialDeviceData device3; in IN_PROC_BROWSER_TEST_F()
Ddial_registry.cc149 linked_ptr<DialDeviceData> device = i->second; in PruneExpiredDevices()
164 bool DialRegistry::IsDeviceExpired(const DialDeviceData& device) const { in IsDeviceExpired()
229 const DialDeviceData& device) { in OnDeviceDiscovered()
235 linked_ptr<DialDeviceData> device_data(new DialDeviceData(device)); in OnDeviceDiscovered()
261 const linked_ptr<DialDeviceData>& device_data) { in MaybeAddDevice()
Ddial_service_unittest.cc37 MOCK_METHOD2(OnDeviceDiscovered, void(DialService*, const DialDeviceData&));
151 DialDeviceData expected_device; in TEST_F()
172 DialDeviceData parsed; in TEST_F()
181 DialDeviceData not_parsed; in TEST_F()
Ddial_registry_unittest.cc101 const DialDeviceData first_device_;
102 const DialDeviceData second_device_;
103 const DialDeviceData third_device_;
207 DialDeviceData rediscovered_device("first", in TEST_F()
Ddial_service.cc150 const base::Callback<void(const DialDeviceData&)>& device_discovered_cb, in DialSocket()
313 DialDeviceData parsed_device; in HandleResponse()
322 DialDeviceData* device) { in ParseResponse()
343 if (!DialDeviceData::IsDeviceDescriptionUrl(device_url)) { in ParseResponse()
581 const DialDeviceData& device_data) { in NotifyOnDeviceDiscovered()