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

Side by Side Diff: chrome/browser/utility_process_host.h

Issue 3080031: Delete obviously unneeded forward declarations in chrome/browser/*.h. (Closed)
Patch Set: bah Created 10 years, 4 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
« no previous file with comments | « chrome/browser/toolbar_model.h ('k') | chrome/browser/visitedlink_master.h » ('j') | 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) 2009 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_BROWSER_UTILITY_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "chrome/browser/browser_child_process_host.h" 15 #include "chrome/browser/browser_child_process_host.h"
16 #include "chrome/browser/chrome_thread.h" 16 #include "chrome/browser/chrome_thread.h"
17 #include "chrome/common/extensions/update_manifest.h" 17 #include "chrome/common/extensions/update_manifest.h"
18 #include "ipc/ipc_channel.h" 18 #include "ipc/ipc_channel.h"
19 19
20 class CommandLine;
21 class DictionaryValue; 20 class DictionaryValue;
22 class ListValue;
23 class SkBitmap; 21 class SkBitmap;
24 22
25 // This class acts as the browser-side host to a utility child process. A 23 // This class acts as the browser-side host to a utility child process. A
26 // utility process is a short-lived sandboxed process that is created to run 24 // utility process is a short-lived sandboxed process that is created to run
27 // a specific task. This class lives solely on the IO thread. 25 // a specific task. This class lives solely on the IO thread.
28 class UtilityProcessHost : public BrowserChildProcessHost { 26 class UtilityProcessHost : public BrowserChildProcessHost {
29 public: 27 public:
30 // An interface to be implemented by consumers of the utility process to 28 // An interface to be implemented by consumers of the utility process to
31 // get results back. All functions are called on the thread passed along 29 // get results back. All functions are called on the thread passed along
32 // to UtilityProcessHost. 30 // to UtilityProcessHost.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 130 }
133 131
134 // A pointer to our client interface, who will be informed of progress. 132 // A pointer to our client interface, who will be informed of progress.
135 scoped_refptr<Client> client_; 133 scoped_refptr<Client> client_;
136 ChromeThread::ID client_thread_id_; 134 ChromeThread::ID client_thread_id_;
137 135
138 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost); 136 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost);
139 }; 137 };
140 138
141 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ 139 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/toolbar_model.h ('k') | chrome/browser/visitedlink_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698