OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 5 #ifndef CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ |
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/id_map.h" | 15 #include "base/id_map.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/process.h" | 18 #include "base/process/process.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
22 #include "ipc/ipc_listener.h" | 22 #include "ipc/ipc_listener.h" |
23 #include "ipc/ipc_sender.h" | 23 #include "ipc/ipc_sender.h" |
24 | 24 |
25 class CommandLine; | 25 class CommandLine; |
26 | 26 |
27 namespace cloud_print { | 27 namespace cloud_print { |
28 struct CloudPrintProxyInfo; | 28 struct CloudPrintProxyInfo; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 TaskList connect_failure_tasks_; | 167 TaskList connect_failure_tasks_; |
168 | 168 |
169 // Callback that gets invoked when a status message is received from | 169 // Callback that gets invoked when a status message is received from |
170 // the cloud print proxy. | 170 // the cloud print proxy. |
171 CloudPrintProxyInfoHandler cloud_print_info_callback_; | 171 CloudPrintProxyInfoHandler cloud_print_info_callback_; |
172 | 172 |
173 content::NotificationRegistrar registrar_; | 173 content::NotificationRegistrar registrar_; |
174 }; | 174 }; |
175 | 175 |
176 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 176 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ |
OLD | NEW |