HomeSort by relevance Sort by last modified time
    Searched refs:service_type (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/extensions/api/mdns/
dns_sd_registry.cc 125 const std::string& service_type,
127 return new DnsSdDeviceLister(discovery_client, delegate, service_type);
130 void DnsSdRegistry::RegisterDnsSdListener(std::string service_type) {
131 VLOG(1) << "RegisterDnsSdListener: " << service_type
132 << ", registered: " << IsRegistered(service_type);
133 if (service_type.empty())
136 if (IsRegistered(service_type)) {
137 service_data_map_[service_type]->ListenerAdded();
138 DispatchApiEvent(service_type);
143 this, service_type, service_discovery_client_.get()))
    [all...]
dns_sd_registry_unittest.cc 26 MockDnsSdDeviceLister* GetListerForService(const std::string& service_type) {
27 return listers_[service_type];
30 int GetServiceListenerCount(const std::string& service_type) {
31 if (service_data_map_.find(service_type) == service_data_map_.end())
34 return service_data_map_[service_type].get()->GetListenerCount();
44 const std::string& service_type,
49 listers_[service_type] = lister;
83 const std::string service_type = "_testing._tcp.local"; local
85 EXPECT_CALL(observer_, OnDnsSdEvent(service_type,
88 registry_->RegisterDnsSdListener(service_type);
99 const std::string service_type = "_testing._tcp.local"; local
130 const std::string service_type = "_testing._tcp.local"; local
153 const std::string service_type = "_testing._tcp.local"; local
178 const std::string service_type = "_testing._tcp.local"; local
206 const std::string service_type = "_testing._tcp.local"; local
    [all...]
dns_sd_device_lister.cc 35 const std::string& service_type)
37 device_lister_(this, service_discovery_client, service_type),
49 << device_lister_.service_type();
53 << device_lister_.service_type();
64 << "service_type: " << device_lister_.service_type();
65 delegate_->ServiceChanged(device_lister_.service_type(), added, service);
71 << "service_type: " << device_lister_.service_type();
72 delegate_->ServiceRemoved(device_lister_.service_type(), service_name)
    [all...]
mdns_apitest.cc 29 MOCK_METHOD1(RegisterDnsSdListener, void(std::string service_type));
30 MOCK_METHOD1(UnregisterDnsSdListener, void(std::string service_type));
32 void DispatchMDnsEvent(const std::string& service_type,
34 api_->OnDnsSdEvent(service_type, services);
75 const std::string& service_type = "_googlecast._tcp.local"; local
78 EXPECT_CALL(*dns_sd_registry_, RegisterDnsSdListener(service_type))
80 EXPECT_CALL(*dns_sd_registry_, UnregisterDnsSdListener(service_type))
94 service.service_name = service_type;
97 dns_sd_registry_->DispatchMDnsEvent(service_type, services);
99 dns_sd_registry_->DispatchMDnsEvent(service_type, services)
112 const std::string& service_type = "_googlecast._tcp.local"; local
    [all...]
dns_sd_registry.h 35 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);
dns_sd_delegate.h 38 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;
mdns_api.cc 24 bool IsServiceTypeWhitelisted(const std::string& service_type) {
25 return service_type == kCastServiceType ||
26 service_type == kPrivetServiceType ||
27 service_type == kTestServiceType;
124 void MDnsAPI::OnDnsSdEvent(const std::string& service_type,
144 event->filter_info.SetServiceType(service_type);
dns_sd_device_lister.h 27 const std::string& service_type);
mdns_api.h 57 const std::string& service_type,
  /external/chromium_org/cloud_print/gcp20/prototype/
service_parameters.cc 13 ServiceParameters::ServiceParameters(const std::string& service_type,
20 : service_type_(service_type),
22 service_name_(service_name_prefix + "." + service_type),
service_parameters.h 18 ServiceParameters(const std::string& service_type,
  /external/chromium_org/extensions/common/
event_filtering_info.h 31 void SetServiceType(const std::string& service_type) {
32 service_type_ = service_type;
42 const std::string& service_type() const { return service_type_; } function in class:extensions::EventFilteringInfo
  /external/chromium_org/chrome/browser/android/signin/
account_management_screen_helper.h 23 signin::GAIAServiceType service_type);
account_management_screen_helper.cc 17 signin::GAIAServiceType service_type) {
25 static_cast<int>(service_type));
  /external/chromium_org/chrome/common/local_discovery/
service_discovery_client.cc 22 std::string ServiceDescription::service_type() const { function in class:local_discovery::ServiceDescription
service_discovery_client.h 30 // name follows the format <instance_name>.<service_type>.
32 std::string service_type() const;
117 // on service type |service_type|.
119 const std::string& service_type,
  /external/chromium_org/chrome/browser/local_discovery/
service_discovery_device_lister.h 31 const std::string& service_type);
37 std::string service_type() { return service_type_; } function in class:local_discovery::ServiceDiscoveryDeviceLister
privet_device_lister_unittest.cc 22 virtual void ServiceWatcherStarted(const std::string& service_type,
24 virtual void ServiceResolverStarted(const std::string& service_type,
30 MockServiceWatcher(const std::string& service_type,
33 : started_(false), service_type_(service_type), callback_(callback),
116 // on service type |service_type|.
118 const std::string& service_type,
121 new MockServiceWatcher(service_type, callback, mock_delegate_));
150 MOCK_METHOD2(ServiceWatcherStarted, void(const std::string& service_type,
152 MOCK_METHOD2(ServiceResolverStarted, void(const std::string& service_type,
test_service_discovery_client.cc 31 const std::string& service_type,
33 return service_discovery_client_impl_->CreateServiceWatcher(service_type,
service_discovery_client_utility.h 29 const std::string& service_type,
test_service_discovery_client.h 23 const std::string& service_type,
service_discovery_device_lister.cc 24 const std::string& service_type)
27 service_type_(service_type),
35 VLOG(1) << "DeviceListerStart: service_type: " << service_type_;
40 VLOG(1) << "DiscoverNewDevices: service_type: " << service_type_;
47 VLOG(1) << "OnServiceUpdated: service_type: " << service_type_
91 VLOG(1) << "OnResolveComplete: service_type: " << service_type_
  /external/chromium_org/chrome/browser/signin/
signin_header_helper.cc 102 params.service_type =
128 signin::GAIAServiceType service_type = manage_accounts_params.service_type; local
129 DCHECK_NE(signin::GAIA_SERVICE_TYPE_NONE, service_type);
140 switch (service_type) {
157 if (service_type == signin::GAIA_SERVICE_TYPE_INCOGNITO) {
167 service_type);
187 service_type(GAIA_SERVICE_TYPE_NONE),
275 if (params.service_type == GAIA_SERVICE_TYPE_NONE)
signin_header_helper.h 48 GAIAServiceType service_type; member in struct:signin::ManageAccountsParams
  /external/chromium_org/chrome/tools/service_discovery_sniffer/
service_discovery_sniffer.h 43 const std::string& service_type);

Completed in 297 milliseconds

1 2 3