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

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: addressed dcheng's comments Created 4 years, 11 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
« no previous file with comments | « no previous file | components/arc.gypi » ('j') | content/browser/DEPS » ('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 0b5154a497c12144d900f11ecec02d7ed731cb2a..aa3df36edc296a95272b5f15cde51d771a42c44e 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -117,6 +117,8 @@
#include "components/arc/arc_bridge_service.h"
#include "components/arc/arc_service_manager.h"
#include "components/arc/settings/arc_settings_bridge.h"
+#include "components/arc/video/arc_video_bridge.h"
+#include "components/arc/video/video_host_delegate.h"
#include "components/browser_sync/common/browser_sync_switches.h"
#include "components/device_event_log/device_event_log.h"
#include "components/metrics/metrics_service.h"
@@ -126,6 +128,7 @@
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#include "components/wallpaper/wallpaper_manager_base.h"
+#include "content/public/browser/arc_video_host_delegate.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/common/content_switches.h"
@@ -397,7 +400,9 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() {
arc_service_manager_.reset(new arc::ArcServiceManager(
make_scoped_ptr(new arc::ArcAuthServiceImpl()),
- make_scoped_ptr(new arc::ArcSettingsBridgeImpl())));
+ make_scoped_ptr(new arc::ArcSettingsBridgeImpl()),
+ make_scoped_ptr(
+ new arc::ArcVideoBridge(content::CreateArcVideoHostDelegate()))));
arc_service_manager_->arc_bridge_service()->DetectAvailability();
chromeos::ResourceReporter::GetInstance()->StartMonitoring();
« no previous file with comments | « no previous file | components/arc.gypi » ('j') | content/browser/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698