diff options
Diffstat (limited to 'chrome/test/automation/automation_proxy.cc')
-rw-r--r-- | chrome/test/automation/automation_proxy.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc index 4704deb..10bcf6d 100644 --- a/chrome/test/automation/automation_proxy.cc +++ b/chrome/test/automation/automation_proxy.cc @@ -432,15 +432,9 @@ scoped_refptr<BrowserProxy> AutomationProxy::GetLastActiveBrowserWindow() { return ProxyObjectFromHandle<BrowserProxy>(handle); } -#if defined(OS_POSIX) -base::file_handle_mapping_vector AutomationProxy::fds_to_map() const { - base::file_handle_mapping_vector map; - const int ipcfd = channel_->GetClientFileDescriptor(); - if (ipcfd > -1) - map.push_back(std::make_pair(ipcfd, kPrimaryIPCChannel + 3)); - return map; -} -#endif // defined(OS_POSIX) +IPC::SyncChannel* AutomationProxy::channel() { + return channel_.get(); +} bool AutomationProxy::Send(IPC::Message* message) { return Send(message, |