Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1694)

Side by Side Diff: chrome/browser/local_discovery/service_discovery_host_client.h

Issue 251023005: Renamed ServiceDiscoveryClientMdns to ServiceDiscoveryClientUtility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sat 04/26/2014 18:41:53.09 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 61 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
62 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 62 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
63 63
64 protected: 64 protected:
65 virtual ~ServiceDiscoveryHostClient(); 65 virtual ~ServiceDiscoveryHostClient();
66 66
67 private: 67 private:
68 class ServiceWatcherProxy; 68 class ServiceWatcherProxy;
69 class ServiceResolverProxy; 69 class ServiceResolverProxy;
70 class LocalDomainResolverProxy; 70 class LocalDomainResolverProxy;
71 friend class ServiceDiscoveryClientMdns; 71 friend class ServiceDiscoveryClientUtility;
72 72
73 typedef std::map<uint64, ServiceWatcher::UpdatedCallback> WatcherCallbacks; 73 typedef std::map<uint64, ServiceWatcher::UpdatedCallback> WatcherCallbacks;
74 typedef std::map<uint64, ServiceResolver::ResolveCompleteCallback> 74 typedef std::map<uint64, ServiceResolver::ResolveCompleteCallback>
75 ResolverCallbacks; 75 ResolverCallbacks;
76 typedef std::map<uint64, LocalDomainResolver::IPAddressCallback> 76 typedef std::map<uint64, LocalDomainResolver::IPAddressCallback>
77 DomainResolverCallbacks; 77 DomainResolverCallbacks;
78 78
79 void StartOnIOThread(); 79 void StartOnIOThread();
80 void ShutdownOnIOThread(); 80 void ShutdownOnIOThread();
81 81
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 scoped_refptr<base::TaskRunner> callback_runner_; 139 scoped_refptr<base::TaskRunner> callback_runner_;
140 scoped_refptr<base::TaskRunner> io_runner_; 140 scoped_refptr<base::TaskRunner> io_runner_;
141 ScopedVector<IPC::Message> delayed_messages_; 141 ScopedVector<IPC::Message> delayed_messages_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoveryHostClient); 143 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoveryHostClient);
144 }; 144 };
145 145
146 } // namespace local_discovery 146 } // namespace local_discovery
147 147
148 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_ 148 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_HOST_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698