/external/chromium_org/chrome/browser/extensions/api/mdns/ |
D | dns_sd_registry_unittest.cc | 26 MockDnsSdDeviceLister* GetListerForService(const std::string& service_type) { in GetListerForService() argument 27 return listers_[service_type]; in GetListerForService() 30 int GetServiceListenerCount(const std::string& service_type) { in GetServiceListenerCount() argument 31 if (service_data_map_.find(service_type) == service_data_map_.end()) in GetServiceListenerCount() 34 return service_data_map_[service_type].get()->GetListenerCount(); in GetServiceListenerCount() 44 const std::string& service_type, in CreateDnsSdDeviceLister() argument 49 listers_[service_type] = lister; in CreateDnsSdDeviceLister() 83 const std::string service_type = "_testing._tcp.local"; in TEST_F() local 85 EXPECT_CALL(observer_, OnDnsSdEvent(service_type, in TEST_F() 88 registry_->RegisterDnsSdListener(service_type); in TEST_F() [all …]
|
D | dns_sd_registry.cc | 123 const std::string& service_type, in CreateDnsSdDeviceLister() argument 125 return new DnsSdDeviceLister(discovery_client, delegate, service_type); in CreateDnsSdDeviceLister() 128 void DnsSdRegistry::RegisterDnsSdListener(std::string service_type) { in RegisterDnsSdListener() argument 129 VLOG(1) << "RegisterDnsSdListener: " << service_type in RegisterDnsSdListener() 130 << ", registered: " << IsRegistered(service_type); in RegisterDnsSdListener() 131 if (service_type.empty()) in RegisterDnsSdListener() 134 if (IsRegistered(service_type)) { in RegisterDnsSdListener() 135 service_data_map_[service_type]->ListenerAdded(); in RegisterDnsSdListener() 136 DispatchApiEvent(service_type); in RegisterDnsSdListener() 141 this, service_type, service_discovery_client_)); in RegisterDnsSdListener() [all …]
|
D | mdns_apitest.cc | 28 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, in DispatchMDnsEvent() argument 33 api_->OnDnsSdEvent(service_type, services); in DispatchMDnsEvent() 74 const std::string& service_type = "_googlecast._tcp.local"; in IN_PROC_BROWSER_TEST_F() local 77 EXPECT_CALL(*dns_sd_registry_, RegisterDnsSdListener(service_type)) in IN_PROC_BROWSER_TEST_F() 79 EXPECT_CALL(*dns_sd_registry_, UnregisterDnsSdListener(service_type)) in IN_PROC_BROWSER_TEST_F() 93 service.service_name = service_type; in IN_PROC_BROWSER_TEST_F() 96 dns_sd_registry_->DispatchMDnsEvent(service_type, services); in IN_PROC_BROWSER_TEST_F() 98 dns_sd_registry_->DispatchMDnsEvent(service_type, services); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | dns_sd_device_lister.cc | 35 const std::string& service_type) in DnsSdDeviceLister() argument 37 device_lister_(this, service_discovery_client, service_type), in DnsSdDeviceLister() 49 << device_lister_.service_type(); in Discover() 53 << device_lister_.service_type(); in Discover() 64 << "service_type: " << device_lister_.service_type(); in OnDeviceChanged() 65 delegate_->ServiceChanged(device_lister_.service_type(), added, service); in OnDeviceChanged() 71 << "service_type: " << device_lister_.service_type(); in OnDeviceRemoved() 72 delegate_->ServiceRemoved(device_lister_.service_type(), service_name); in OnDeviceRemoved() 77 << "service_type: " << device_lister_.service_type(); in OnDeviceCacheFlushed() 78 delegate_->ServicesFlushed(device_lister_.service_type()); in OnDeviceCacheFlushed()
|
D | 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);
|
D | mdns_api.cc | 24 bool IsServiceTypeWhitelisted(const std::string& service_type) { in IsServiceTypeWhitelisted() argument 25 return service_type == kCastServiceType || in IsServiceTypeWhitelisted() 26 service_type == kPrivetServiceType || in IsServiceTypeWhitelisted() 27 service_type == kTestServiceType; in IsServiceTypeWhitelisted() 124 void MDnsAPI::OnDnsSdEvent(const std::string& service_type, in OnDnsSdEvent() argument 144 event->filter_info.SetServiceType(service_type); in OnDnsSdEvent()
|
D | 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;
|
/external/chromium_org/chrome/browser/signin/ |
D | signin_header_helper.cc | 97 params.service_type = in BuildManageAccountsParams() 123 signin::GAIAServiceType service_type = manage_accounts_params.service_type; in ProcessMirrorHeaderUIThread() local 124 DCHECK_NE(signin::GAIA_SERVICE_TYPE_NONE, service_type); in ProcessMirrorHeaderUIThread() 135 switch (service_type) { in ProcessMirrorHeaderUIThread() 152 if (service_type == signin::GAIA_SERVICE_TYPE_INCOGNITO) { in ProcessMirrorHeaderUIThread() 159 service_type); in ProcessMirrorHeaderUIThread() 179 service_type(GAIA_SERVICE_TYPE_NONE), in ManageAccountsParams() 264 if (params.service_type == GAIA_SERVICE_TYPE_NONE) in ProcessMirrorResponseHeaderIfExists()
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | service_parameters.cc | 13 ServiceParameters::ServiceParameters(const std::string& service_type, in ServiceParameters() argument 20 : service_type_(service_type), in ServiceParameters() 22 service_name_(service_name_prefix + "." + service_type), in ServiceParameters()
|
/external/chromium_org/extensions/common/ |
D | event_filtering_info.h | 31 void SetServiceType(const std::string& service_type) { in SetServiceType() argument 32 service_type_ = service_type; in SetServiceType() 42 const std::string& service_type() const { return service_type_; } in service_type() function
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | 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, in MockServiceWatcher() argument 33 : started_(false), service_type_(service_type), callback_(callback), in MockServiceWatcher() 118 const std::string& service_type, in CreateServiceWatcher() argument 121 new MockServiceWatcher(service_type, callback, mock_delegate_)); in CreateServiceWatcher() 150 MOCK_METHOD2(ServiceWatcherStarted, void(const std::string& service_type, 152 MOCK_METHOD2(ServiceResolverStarted, void(const std::string& service_type,
|
D | service_discovery_device_lister.h | 31 const std::string& service_type); 37 std::string service_type() { return service_type_; } in service_type() function
|
D | test_service_discovery_client.cc | 31 const std::string& service_type, in CreateServiceWatcher() argument 33 return service_discovery_client_impl_->CreateServiceWatcher(service_type, in CreateServiceWatcher()
|
D | service_discovery_client_mac.h | 39 const std::string& service_type, 61 const std::string& service_type, 95 const std::string& service_type,
|
D | service_discovery_client_mac.mm | 120 const std::string& service_type, 123 VLOG(1) << "CreateServiceWatcher: " << service_type; 125 service_type, callback, service_discovery_thread_->message_loop_proxy())); 158 const std::string& service_type, 161 : service_type_(service_type), 227 const std::string& service_type, 230 : service_type_(service_type), 235 service_type,
|
D | service_discovery_device_lister.cc | 24 const std::string& service_type) in ServiceDiscoveryDeviceLister() argument 27 service_type_(service_type), in ServiceDiscoveryDeviceLister()
|
D | service_discovery_client_utility.cc | 22 const std::string& service_type, in CreateServiceWatcher() argument 25 return host_client_->CreateServiceWatcher(service_type, callback); in CreateServiceWatcher()
|
D | service_discovery_client_mdns.cc | 155 const std::string& service_type, in ServiceWatcherProxy() argument 158 service_type_(service_type), in ServiceWatcherProxy() 163 service_type, in ServiceWatcherProxy() 304 const std::string& service_type, in CreateServiceWatcher() argument 308 new ServiceWatcherProxy(this, service_type, callback)); in CreateServiceWatcher()
|
/external/chromium_org/chrome/browser/android/signin/ |
D | account_management_screen_helper.cc | 17 signin::GAIAServiceType service_type) { in OpenAccountManagementScreen() argument 25 static_cast<int>(service_type)); in OpenAccountManagementScreen()
|
D | account_management_screen_helper.h | 23 signin::GAIAServiceType service_type);
|
/external/chromium_org/chrome/common/local_discovery/ |
D | service_discovery_client.h | 32 std::string service_type() const; 119 const std::string& service_type,
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | peerconnection.cc | 105 ServiceType* service_type, in GetServiceTypeAndHostnameFromUri() argument 114 *service_type = static_cast<ServiceType>(i); in GetServiceTypeAndHostnameFromUri() 118 if (*service_type == INVALID) { in GetServiceTypeAndHostnameFromUri() 210 ServiceType service_type = INVALID; in ParseIceServers() local 212 &service_type, in ParseIceServers() 229 if (service_type == TURNS) { in ParseIceServers() 246 switch (service_type) { in ParseIceServers() 263 bool secure = (service_type == TURNS); in ParseIceServers()
|
/external/chromium_org/chrome/utility/local_discovery/ |
D | service_discovery_message_handler.cc | 262 const std::string& service_type) { in OnStartWatcher() argument 265 base::Unretained(this), id, service_type)); in OnStartWatcher() 320 const std::string& service_type) { in StartWatcher() argument 321 VLOG(1) << "StartWatcher, id=" << id << ", type=" << service_type; in StartWatcher() 327 service_type, in StartWatcher()
|
D | service_discovery_message_handler.h | 61 void OnStartWatcher(uint64 id, const std::string& service_type); 72 void StartWatcher(uint64 id, const std::string& service_type);
|
/external/chromium_org/chrome/tools/service_discovery_sniffer/ |
D | service_discovery_sniffer.cc | 67 const std::string& service_type) in ServiceTypePrinter() argument 70 service_type, base::Bind(&ServiceTypePrinter::OnServiceUpdated, in ServiceTypePrinter()
|