OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UTILITY_PROCESS_HOST_H_ | 5 #ifndef CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
6 #define CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ | 6 #define CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include <windows.h> | 12 #include <windows.h> |
13 #endif // defined(OS_WIN) | 13 #endif // defined(OS_WIN) |
14 | 14 |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/file_path.h" | 18 #include "base/file_path.h" |
19 #include "base/ref_counted.h" | 19 #include "base/ref_counted.h" |
| 20 #include "base/task.h" |
20 #include "ipc/ipc_channel.h" | 21 #include "ipc/ipc_channel.h" |
21 #include "chrome/service/service_child_process_host.h" | 22 #include "chrome/service/service_child_process_host.h" |
22 #include "printing/native_metafile.h" | 23 #include "printing/native_metafile.h" |
23 | 24 |
24 class CommandLine; | 25 class CommandLine; |
25 class ScopedTempDir; | 26 class ScopedTempDir; |
26 | 27 |
27 namespace base { | 28 namespace base { |
28 class MessageLoopProxy; | 29 class MessageLoopProxy; |
29 } // namespace base | 30 } // namespace base |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool waiting_for_reply_; | 124 bool waiting_for_reply_; |
124 // The path to the temp file where the metafile will be written to. | 125 // The path to the temp file where the metafile will be written to. |
125 FilePath metafile_path_; | 126 FilePath metafile_path_; |
126 // The temporary folder created for the metafile. | 127 // The temporary folder created for the metafile. |
127 scoped_ptr<ScopedTempDir> scratch_metafile_dir_; | 128 scoped_ptr<ScopedTempDir> scratch_metafile_dir_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); | 130 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); |
130 }; | 131 }; |
131 | 132 |
132 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ | 133 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
OLD | NEW |