diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 22:31:51 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 22:31:51 +0000 |
commit | ec5265f2c5fa4c72199e15c327ab7a0d9ae00905 (patch) | |
tree | 9bc37aba80527ebab0c4db32744b38158cfced79 /chrome/service/service_utility_process_host.cc | |
parent | 9e94d245bb80afb24f65d1ea469a7eee0a7171de (diff) | |
download | chromium_src-ec5265f2c5fa4c72199e15c327ab7a0d9ae00905.zip chromium_src-ec5265f2c5fa4c72199e15c327ab7a0d9ae00905.tar.gz chromium_src-ec5265f2c5fa4c72199e15c327ab7a0d9ae00905.tar.bz2 |
Don't make ServiceChildProcessHost derive from ChildProcessInfo. It didn't really need to. This is needed since code in chrome will only be able to see interfaces from content's public API.
BUG=98716
Review URL: http://codereview.chromium.org/8755002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_utility_process_host.cc')
-rw-r--r-- | chrome/service/service_utility_process_host.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc index 9b359c3..2b4fe26 100644 --- a/chrome/service/service_utility_process_host.cc +++ b/chrome/service/service_utility_process_host.cc @@ -13,6 +13,7 @@ #include "base/utf_string_conversions.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/chrome_utility_messages.h" +#include "content/common/child_process_info.h" #include "ipc/ipc_switches.h" #include "printing/page_range.h" #include "ui/base/ui_base_switches.h" @@ -27,8 +28,7 @@ ServiceUtilityProcessHost::ServiceUtilityProcessHost( Client* client, base::MessageLoopProxy* client_message_loop_proxy) - : ServiceChildProcessHost(ChildProcessInfo::UTILITY_PROCESS), - client_(client), + : client_(client), client_message_loop_proxy_(client_message_loop_proxy), waiting_for_reply_(false) { process_id_ = ChildProcessInfo::GenerateChildProcessUniqueId(); @@ -95,10 +95,6 @@ bool ServiceUtilityProcessHost::StartGetPrinterCapsAndDefaults( bool ServiceUtilityProcessHost::StartProcess(bool no_sandbox, const FilePath& exposed_dir) { - // Name must be set or metrics_service will crash in any test which - // launches a UtilityProcessHost. - set_name(ASCIIToUTF16("utility process")); - if (!CreateChannel()) return false; |