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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 1481523002: arc-bridge: Split ArcBridgeService to common part and IPC based impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase issue Created 5 years, 1 month 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
« no previous file with comments | « no previous file | components/arc.gypi » ('j') | components/arc/arc_bridge_service.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
index c69f48f96b454a453d24dbf853b515ce1ce4b0d0..9a1c03b86857d74e52831a18e59ac94d2f0af824 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -388,11 +388,13 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() {
wake_on_wifi_manager_.reset(new WakeOnWifiManager());
- arc_bridge_service_.reset(new arc::ArcBridgeService(
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::IO),
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::FILE)));
+ arc_bridge_service_ =
+ arc::ArcBridgeService::Create(
hidehiko 2015/11/26 02:21:51 nit: std::move
khmel1 2015/11/26 05:46:42 Done, BTW why this is preferred?
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO),
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::FILE))
+ .Pass();
arc_bridge_service_->DetectAvailability();
ChromeBrowserMainPartsLinux::PreMainMessageLoopRun();
« no previous file with comments | « no previous file | components/arc.gypi » ('j') | components/arc/arc_bridge_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698