OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" |
19 #include "base/task.h" | |
20 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
22 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
23 | 22 |
24 class CommandLine; | 23 class CommandLine; |
25 | 24 |
26 namespace cloud_print { | 25 namespace cloud_print { |
27 struct CloudPrintProxyInfo; | 26 struct CloudPrintProxyInfo; |
28 } // namespace cloud_print | 27 } // namespace cloud_print |
29 | 28 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 TaskList connect_failure_tasks_; | 160 TaskList connect_failure_tasks_; |
162 | 161 |
163 // Callback that gets invoked when a status message is received from | 162 // Callback that gets invoked when a status message is received from |
164 // the cloud print proxy. | 163 // the cloud print proxy. |
165 CloudPrintProxyInfoHandler cloud_print_info_callback_; | 164 CloudPrintProxyInfoHandler cloud_print_info_callback_; |
166 | 165 |
167 content::NotificationRegistrar registrar_; | 166 content::NotificationRegistrar registrar_; |
168 }; | 167 }; |
169 | 168 |
170 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 169 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ |
OLD | NEW |