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

Unified Diff: chrome/browser/apps/app_shim/app_shim_host_mac.cc

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/apps/app_shim/app_shim_host_mac.cc
diff --git a/chrome/browser/apps/app_shim/app_shim_host_mac.cc b/chrome/browser/apps/app_shim/app_shim_host_mac.cc
index 6ce706eba279fb95fe84bb5154bd53ec2c820c62..91da6c1c4b83bc35c53f1fe029bd40aad93ad2f6 100644
--- a/chrome/browser/apps/app_shim/app_shim_host_mac.cc
+++ b/chrome/browser/apps/app_shim/app_shim_host_mac.cc
@@ -10,6 +10,7 @@
#include "chrome/browser/apps/app_shim/app_shim_handler_mac.h"
#include "chrome/common/mac/app_shim_messages.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/common/child_process_host.h"
#include "ipc/ipc_channel_proxy.h"
AppShimHost::AppShimHost() : initial_launch_finished_(false) {}
@@ -25,11 +26,10 @@ void AppShimHost::ServeChannel(const IPC::ChannelHandle& handle) {
DCHECK(CalledOnValidThread());
DCHECK(!channel_.get());
channel_ = IPC::ChannelProxy::Create(
- handle,
- IPC::Channel::MODE_SERVER,
- this,
+ handle, IPC::Channel::MODE_SERVER, this,
content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::IO).get());
+ content::BrowserThread::IO).get(),
+ content::ChildProcessHost::GetAttachmentBroker());
}
base::FilePath AppShimHost::GetProfilePath() const {
« no previous file with comments | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698