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_old.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/process.h" | 17 #include "base/process.h" |
18 #include "base/task.h" | 18 #include "base/task.h" |
19 #include "content/common/notification_observer.h" | 19 #include "content/common/notification_observer.h" |
20 #include "content/common/notification_registrar.h" | 20 #include "content/common/notification_registrar.h" |
21 #include "ipc/ipc_sync_channel.h" | 21 #include "ipc/ipc_sync_channel.h" |
22 | 22 |
23 class Profile; | 23 class Profile; |
24 class CommandLine; | 24 class CommandLine; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 // the cloud print proxy. | 193 // the cloud print proxy. |
194 scoped_ptr<Callback2<bool, std::string>::Type> cloud_print_status_callback_; | 194 scoped_ptr<Callback2<bool, std::string>::Type> cloud_print_status_callback_; |
195 | 195 |
196 // Handler for messages from service process. | 196 // Handler for messages from service process. |
197 std::set<MessageHandler*> message_handlers_; | 197 std::set<MessageHandler*> message_handlers_; |
198 | 198 |
199 NotificationRegistrar registrar_; | 199 NotificationRegistrar registrar_; |
200 }; | 200 }; |
201 | 201 |
202 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 202 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ |
OLD | NEW |