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

Side by Side Diff: content/public/browser/utility_process_host.h

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 months 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
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
7 7
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/browser_thread.h"
11 #include "ipc/ipc_sender.h" 10 #include "ipc/ipc_sender.h"
12 11
13 class FilePath; 12 class FilePath;
14 13
14 namespace base {
15 class SequencedTaskRunner;
16 }
17
15 namespace content { 18 namespace content {
16 class UtilityProcessHostClient; 19 class UtilityProcessHostClient;
17 struct ChildProcessData; 20 struct ChildProcessData;
18 21
19 // This class acts as the browser-side host to a utility child process. A 22 // This class acts as the browser-side host to a utility child process. A
20 // utility process is a short-lived process that is created to run a specific 23 // utility process is a short-lived process that is created to run a specific
21 // task. This class lives solely on the IO thread. 24 // task. This class lives solely on the IO thread.
22 // If you need a single method call in the process, use StartFooBar(p). 25 // If you need a single method call in the process, use StartFooBar(p).
23 // If you need multiple batches of work to be done in the process, use 26 // If you need multiple batches of work to be done in the process, use
24 // StartBatchMode(), then multiple calls to StartFooBar(p), then finish with 27 // StartBatchMode(), then multiple calls to StartFooBar(p), then finish with
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual const ChildProcessData& GetData() = 0; 62 virtual const ChildProcessData& GetData() = 0;
60 63
61 #if defined(OS_POSIX) 64 #if defined(OS_POSIX)
62 virtual void SetEnv(const base::EnvironmentVector& env) = 0; 65 virtual void SetEnv(const base::EnvironmentVector& env) = 0;
63 #endif 66 #endif
64 }; 67 };
65 68
66 }; // namespace content 69 }; // namespace content
67 70
68 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 71 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698