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

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: rebased with new ArcBridgeService; addressed Owen's comments Created 5 years 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 3c83155e850f71a8c00651e1626824339a8617eb..d9004239647c46571e974d418897336279c24918 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -120,6 +120,7 @@
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#include "components/wallpaper/wallpaper_manager_base.h"
+#include "content/browser/gpu/gpu_arc_video_service_host.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/common/content_switches.h"
@@ -394,6 +395,11 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() {
chromeos::ResourceReporter::GetInstance()->StartMonitoring();
+ gpu_arc_video_service_host_.reset(new content::GpuArcVideoServiceHost(
+ content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO)));
+ gpu_arc_video_service_host_->Initialize();
+
ChromeBrowserMainPartsLinux::PreMainMessageLoopRun();
}

Powered by Google App Engine
This is Rietveld 408576698