| 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_SERVICE_SERVICE_PROCESS_H_ | 5 #ifndef CHROME_SERVICE_SERVICE_PROCESS_H_ |
| 6 #define CHROME_SERVICE_SERVICE_PROCESS_H_ | 6 #define CHROME_SERVICE_SERVICE_PROCESS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/single_thread_task_runner.h" |
| 13 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 14 #include "chrome/service/cloud_print/cloud_print_proxy.h" | 15 #include "chrome/service/cloud_print/cloud_print_proxy.h" |
| 15 #include "chrome/service/service_ipc_server.h" | 16 #include "chrome/service/service_ipc_server.h" |
| 16 #include "mojo/edk/embedder/named_platform_handle.h" | 17 #include "mojo/edk/embedder/named_platform_handle.h" |
| 17 #include "mojo/edk/embedder/scoped_platform_handle.h" | 18 #include "mojo/edk/embedder/scoped_platform_handle.h" |
| 18 #include "mojo/public/cpp/system/message_pipe.h" | 19 #include "mojo/public/cpp/system/message_pipe.h" |
| 19 | 20 |
| 20 class ServiceProcessPrefs; | 21 class ServiceProcessPrefs; |
| 21 class ServiceURLRequestContextGetter; | 22 class ServiceURLRequestContextGetter; |
| 22 class ServiceProcessState; | 23 class ServiceProcessState; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 #elif defined(OS_WIN) | 147 #elif defined(OS_WIN) |
| 147 mojo::edk::NamedPlatformHandle server_handle_; | 148 mojo::edk::NamedPlatformHandle server_handle_; |
| 148 #endif | 149 #endif |
| 149 | 150 |
| 150 DISALLOW_COPY_AND_ASSIGN(ServiceProcess); | 151 DISALLOW_COPY_AND_ASSIGN(ServiceProcess); |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 extern ServiceProcess* g_service_process; | 154 extern ServiceProcess* g_service_process; |
| 154 | 155 |
| 155 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ | 156 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ |
| OLD | NEW |