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

Side by Side Diff: chrome/utility/local_discovery/service_discovery_message_handler.h

Issue 638863002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_
6 #define CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_ 6 #define CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 class ServiceDiscoveryClient; 33 class ServiceDiscoveryClient;
34 34
35 // Handles messages related to local discovery inside utility process. 35 // Handles messages related to local discovery inside utility process.
36 class ServiceDiscoveryMessageHandler : public UtilityMessageHandler { 36 class ServiceDiscoveryMessageHandler : public UtilityMessageHandler {
37 public: 37 public:
38 ServiceDiscoveryMessageHandler(); 38 ServiceDiscoveryMessageHandler();
39 virtual ~ServiceDiscoveryMessageHandler(); 39 virtual ~ServiceDiscoveryMessageHandler();
40 40
41 // UtilityMessageHandler implementation. 41 // UtilityMessageHandler implementation.
42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 42 virtual bool OnMessageReceived(const IPC::Message& message) override;
43 43
44 static void PreSandboxStartup(); 44 static void PreSandboxStartup();
45 45
46 private: 46 private:
47 typedef std::map<uint64, linked_ptr<ServiceWatcher> > ServiceWatchers; 47 typedef std::map<uint64, linked_ptr<ServiceWatcher> > ServiceWatchers;
48 typedef std::map<uint64, linked_ptr<ServiceResolver> > ServiceResolvers; 48 typedef std::map<uint64, linked_ptr<ServiceResolver> > ServiceResolvers;
49 typedef std::map<uint64, linked_ptr<LocalDomainResolver> > 49 typedef std::map<uint64, linked_ptr<LocalDomainResolver> >
50 LocalDomainResolvers; 50 LocalDomainResolvers;
51 51
52 // Lazy initializes ServiceDiscoveryClient. 52 // Lazy initializes ServiceDiscoveryClient.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 scoped_ptr<ServiceDiscoveryClient> service_discovery_client_; 108 scoped_ptr<ServiceDiscoveryClient> service_discovery_client_;
109 109
110 scoped_refptr<base::TaskRunner> utility_task_runner_; 110 scoped_refptr<base::TaskRunner> utility_task_runner_;
111 scoped_refptr<base::TaskRunner> discovery_task_runner_; 111 scoped_refptr<base::TaskRunner> discovery_task_runner_;
112 scoped_ptr<base::Thread> discovery_thread_; 112 scoped_ptr<base::Thread> discovery_thread_;
113 }; 113 };
114 114
115 } // namespace local_discovery 115 } // namespace local_discovery
116 116
117 #endif // CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_ 117 #endif // CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/utility/importer/safari_importer.h ('k') | chrome/utility/local_discovery/service_discovery_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698