Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: chrome/service/service_utility_process_host.h

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
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/file_path.h" 14 #include "base/file_path.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.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 "content/public/common/child_process_host_delegate.h"
18 #include "ipc/ipc_channel.h" 19 #include "ipc/ipc_channel.h"
19 #include "content/public/common/child_process_host_delegate.h"
20 #include "printing/pdf_render_settings.h" 20 #include "printing/pdf_render_settings.h"
21 21
22 class CommandLine; 22 class CommandLine;
23 class ScopedTempDir;
24 23
25 namespace base { 24 namespace base {
26 class MessageLoopProxy; 25 class MessageLoopProxy;
26 class ScopedTempDir;
27 } // namespace base 27 } // namespace base
28 28
29 namespace content { 29 namespace content {
30 class ChildProcessHost; 30 class ChildProcessHost;
31 } 31 }
32 32
33 namespace printing { 33 namespace printing {
34 class Emf; 34 class Emf;
35 struct PageRange; 35 struct PageRange;
36 struct PrinterCapsAndDefaults; 36 struct PrinterCapsAndDefaults;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 scoped_ptr<content::ChildProcessHost> child_process_host_; 140 scoped_ptr<content::ChildProcessHost> child_process_host_;
141 base::ProcessHandle handle_; 141 base::ProcessHandle handle_;
142 // A pointer to our client interface, who will be informed of progress. 142 // A pointer to our client interface, who will be informed of progress.
143 scoped_refptr<Client> client_; 143 scoped_refptr<Client> client_;
144 scoped_refptr<base::MessageLoopProxy> client_message_loop_proxy_; 144 scoped_refptr<base::MessageLoopProxy> client_message_loop_proxy_;
145 bool waiting_for_reply_; 145 bool waiting_for_reply_;
146 // The path to the temp file where the metafile will be written to. 146 // The path to the temp file where the metafile will be written to.
147 FilePath metafile_path_; 147 FilePath metafile_path_;
148 // The temporary folder created for the metafile. 148 // The temporary folder created for the metafile.
149 scoped_ptr<ScopedTempDir> scratch_metafile_dir_; 149 scoped_ptr<base::ScopedTempDir> scratch_metafile_dir_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); 151 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost);
152 }; 152 };
153 153
154 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ 154 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/service/service_process_prefs_unittest.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698