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

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

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use GpuProcessHost instead of GpuChannelHost 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
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 08bc59e3a02b9e7958d2e0e11147f04513f0d721..47983027e123d46261492019681f99898ff90648 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -146,6 +146,7 @@
#if defined(ENABLE_ARC)
#include "components/arc/arc_bridge_service.h"
+#include "content/browser/gpu/gpu_arc_video_service_host.h"
#endif
namespace chromeos {
@@ -397,6 +398,10 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() {
content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::FILE)));
arc_bridge_service_->DetectAvailability();
+ gpu_arc_video_service_host_.reset(new content::GpuArcVideoServiceHost(
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO)));
+ gpu_arc_video_service_host_->Initialize();
#endif
ChromeBrowserMainPartsLinux::PreMainMessageLoopRun();

Powered by Google App Engine
This is Rietveld 408576698