Searched refs:service_type (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/chrome/browser/extensions/api/mdns/
H A Ddns_sd_registry_unittest.cc27 MockDnsSdDeviceLister* GetListerForService(const std::string& service_type) { argument
28 return listers_[service_type];
31 int GetServiceListenerCount(const std::string& service_type) { argument
32 if (service_data_map_.find(service_type) == service_data_map_.end())
35 return service_data_map_[service_type].get()->GetListenerCount();
45 const std::string& service_type,
50 listers_[service_type] = lister;
84 const std::string service_type = "_testing._tcp.local"; local
86 EXPECT_CALL(observer_, OnDnsSdEvent(service_type,
89 registry_->RegisterDnsSdListener(service_type);
100 const std::string service_type = "_testing._tcp.local"; local
131 const std::string service_type = "_testing._tcp.local"; local
154 const std::string service_type = "_testing._tcp.local"; local
179 const std::string service_type = "_testing._tcp.local"; local
207 const std::string service_type = "_testing._tcp.local"; local
[all...]
H A Ddns_sd_registry.cc117 const std::string& service_type,
119 return new DnsSdDeviceLister(discovery_client, delegate, service_type);
122 void DnsSdRegistry::RegisterDnsSdListener(std::string service_type) { argument
123 if (service_type.empty())
126 if (IsRegistered(service_type)) {
127 service_data_map_[service_type]->ListenerAdded();
128 DispatchApiEvent(service_type);
133 this, service_type, service_discovery_client_));
137 service_data_map_[service_type] = service_type_data;
138 DispatchApiEvent(service_type);
115 CreateDnsSdDeviceLister( DnsSdDelegate* delegate, const std::string& service_type, local_discovery::ServiceDiscoverySharedClient* discovery_client) argument
141 UnregisterDnsSdListener(std::string service_type) argument
151 ServiceChanged(const std::string& service_type, bool added, const DnsSdService& service) argument
166 ServiceRemoved(const std::string& service_type, const std::string& service_name) argument
179 ServicesFlushed(const std::string& service_type) argument
187 DispatchApiEvent(const std::string& service_type) argument
194 IsRegistered(const std::string& service_type) argument
[all...]
H A Dmdns_apitest.cc28 MOCK_METHOD1(RegisterDnsSdListener, void(std::string service_type));
29 MOCK_METHOD1(UnregisterDnsSdListener, void(std::string service_type));
31 void DispatchMDnsEvent(const std::string& service_type, argument
33 api_->OnDnsSdEvent(service_type, services);
73 const std::string& service_type = "_googlecast._tcp.local"; local
76 EXPECT_CALL(*dns_sd_registry_, RegisterDnsSdListener(service_type))
78 EXPECT_CALL(*dns_sd_registry_, UnregisterDnsSdListener(service_type))
92 service.service_name = service_type;
95 dns_sd_registry_->DispatchMDnsEvent(service_type, services);
97 dns_sd_registry_->DispatchMDnsEvent(service_type, service
110 const std::string& service_type = "_googlecast._tcp.local"; local
[all...]
H A Ddns_sd_device_lister.cc35 const std::string& service_type)
37 device_lister_(this, service_discovery_client, service_type),
49 << device_lister_.service_type();
53 << device_lister_.service_type();
61 delegate_->ServiceChanged(device_lister_.service_type(), added, service);
65 delegate_->ServiceRemoved(device_lister_.service_type(), service_name);
69 delegate_->ServicesFlushed(device_lister_.service_type());
32 DnsSdDeviceLister( local_discovery::ServiceDiscoveryClient* service_discovery_client, DnsSdDelegate* delegate, const std::string& service_type) argument
H A Ddns_sd_registry.h35 virtual void OnDnsSdEvent(const std::string& service_type,
51 virtual void RegisterDnsSdListener(std::string service_type);
52 virtual void UnregisterDnsSdListener(std::string service_type);
88 const std::string& service_type,
92 virtual void ServiceChanged(const std::string& service_type,
95 virtual void ServiceRemoved(const std::string& service_type,
97 virtual void ServicesFlushed(const std::string& service_type) OVERRIDE;
102 void DispatchApiEvent(const std::string& service_type);
103 bool IsRegistered(const std::string& service_type);
H A Ddns_sd_delegate.h38 virtual void ServiceChanged(const std::string& service_type,
41 virtual void ServiceRemoved(const std::string& service_type,
43 virtual void ServicesFlushed(const std::string& service_type) = 0;
H A Dmdns_api.cc25 bool IsServiceTypeWhitelisted(const std::string& service_type) { argument
26 return service_type == kCastServiceType ||
27 service_type == kPrivetServiceType ||
28 service_type == kTestServiceType;
127 void MDnsAPI::OnDnsSdEvent(const std::string& service_type, argument
147 event->filter_info.SetServiceType(service_type);
H A Ddns_sd_device_lister.h27 const std::string& service_type);
H A Dmdns_api.h53 const std::string& service_type,
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dservice_parameters.cc13 ServiceParameters::ServiceParameters(const std::string& service_type, argument
19 : service_type_(service_type),
21 service_name_(service_name_prefix + "." + service_type),
H A Dservice_parameters.h18 ServiceParameters(const std::string& service_type,
/external/chromium_org/extensions/common/
H A Devent_filtering_info.h31 void SetServiceType(const std::string& service_type) { argument
32 service_type_ = service_type;
42 const std::string& service_type() const { return service_type_; } function in class:extensions::EventFilteringInfo
/external/chromium_org/chrome/common/local_discovery/
H A Dservice_discovery_client.cc22 std::string ServiceDescription::service_type() const { function in class:local_discovery::ServiceDescription
H A Dservice_discovery_client.h30 // name follows the format <instance_name>.<service_type>.
32 std::string service_type() const;
113 // on service type |service_type|.
115 const std::string& service_type,
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_device_lister_unittest.cc22 virtual void ServiceWatcherStarted(const std::string& service_type,
24 virtual void ServiceResolverStarted(const std::string& service_type,
30 MockServiceWatcher(const std::string& service_type, argument
33 : started_(false), service_type_(service_type), callback_(callback),
113 // on service type |service_type|.
115 const std::string& service_type,
118 new MockServiceWatcher(service_type, callback, mock_delegate_));
147 MOCK_METHOD2(ServiceWatcherStarted, void(const std::string& service_type,
149 MOCK_METHOD2(ServiceResolverStarted, void(const std::string& service_type,
H A Dservice_discovery_device_lister.h31 const std::string& service_type);
37 std::string service_type() { return service_type_; } function in class:local_discovery::ServiceDiscoveryDeviceLister
H A Dtest_service_discovery_client.cc31 const std::string& service_type,
33 return service_discovery_client_impl_->CreateServiceWatcher(service_type,
30 CreateServiceWatcher( const std::string& service_type, const ServiceWatcher::UpdatedCallback& callback) argument
H A Dservice_discovery_client_mdns.h27 const std::string& service_type,
H A Dtest_service_discovery_client.h23 const std::string& service_type,
H A Dservice_discovery_client_mac.h27 const std::string& service_type,
42 ServiceWatcherImplMac(const std::string& service_type,
H A Dservice_discovery_device_lister.cc24 const std::string& service_type)
27 service_type_(service_type),
21 ServiceDiscoveryDeviceLister( Delegate* delegate, ServiceDiscoveryClient* service_discovery_client, const std::string& service_type) argument
H A Dservice_discovery_client_mdns.cc22 const std::string& service_type,
25 return host_client_->CreateServiceWatcher(service_type, callback);
21 CreateServiceWatcher( const std::string& service_type, const ServiceWatcher::UpdatedCallback& callback) argument
/external/chromium_org/chrome/tools/service_discovery_sniffer/
H A Dservice_discovery_sniffer.h43 const std::string& service_type);
H A Dservice_discovery_sniffer.cc67 const std::string& service_type)
70 service_type, base::Bind(&ServiceTypePrinter::OnServiceUpdated,
66 ServiceTypePrinter(ServiceDiscoveryClient* client, const std::string& service_type) argument
/external/chromium_org/chrome/utility/local_discovery/
H A Dservice_discovery_message_handler.h61 void OnStartWatcher(uint64 id, const std::string& service_type);
71 void StartWatcher(uint64 id, const std::string& service_type);

Completed in 5234 milliseconds

123