summaryrefslogtreecommitdiffstats
path: root/chrome/browser/utility_process_host.h
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-03 05:47:42 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-03 05:47:42 +0000
commitd27893f65dbd01a0d88dcda2a69f518e4b8a636d (patch)
tree7b0573f1158681243b6605bd9f67521c9ee3193c /chrome/browser/utility_process_host.h
parentdfe7f3288af471067ecd9117049e96aa39778da9 (diff)
downloadchromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.zip
chromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.tar.gz
chromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.tar.bz2
Moved common parts of ChildProcessHost into chrome/common and created a BrowserChildProcessHost with browser-specific implementation. This is in preparation of creating a ServiceChildProcessHost.
BUG=None TEST=Test for regressions . Review URL: http://codereview.chromium.org/2885017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host.h')
-rw-r--r--chrome/browser/utility_process_host.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/utility_process_host.h b/chrome/browser/utility_process_host.h
index faeec97..122d5a0 100644
--- a/chrome/browser/utility_process_host.h
+++ b/chrome/browser/utility_process_host.h
@@ -11,7 +11,7 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "base/task.h"
-#include "chrome/browser/child_process_host.h"
+#include "chrome/browser/browser_child_process_host.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/common/extensions/update_manifest.h"
#include "ipc/ipc_channel.h"
@@ -24,7 +24,7 @@ class ListValue;
// This class acts as the browser-side host to a utility child process. A
// utility process is a short-lived sandboxed process that is created to run
// a specific task. This class lives solely on the IO thread.
-class UtilityProcessHost : public ChildProcessHost {
+class UtilityProcessHost : public BrowserChildProcessHost {
public:
// An interface to be implemented by consumers of the utility process to
// get results back. All functions are called on the thread passed along
@@ -121,7 +121,7 @@ class UtilityProcessHost : public ChildProcessHost {
// IPC messages:
void OnMessageReceived(const IPC::Message& message);
- // ChildProcessHost:
+ // BrowserChildProcessHost:
virtual void OnProcessCrashed();
virtual bool CanShutdown() { return true; }
virtual URLRequestContext* GetRequestContext(