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

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

Issue 323693002: Split printing utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 years, 6 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_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 15 matching lines...) Expand all
26 26
27 namespace tracked_objects { 27 namespace tracked_objects {
28 class Location; 28 class Location;
29 } 29 }
30 30
31 namespace local_discovery { 31 namespace local_discovery {
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 chrome::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:
(...skipping 61 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/image_writer/image_writer_handler.h ('k') | chrome/utility/media_galleries/ipc_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698