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

Unified Diff: chrome/gpu/chrome_content_gpu_client.h

Issue 2892863002: ArcBridge: Add VideoEncodeAccelerator implementation. (Closed)
Patch Set: Rebase Created 3 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/gpu/chrome_content_gpu_client.h
diff --git a/chrome/gpu/chrome_content_gpu_client.h b/chrome/gpu/chrome_content_gpu_client.h
index 768f3a776c5f752fa568931a14c1ff442fdf9091..e9e410617e6cc2274993b5b5313f6d7a4fbebfb5 100644
--- a/chrome/gpu/chrome_content_gpu_client.h
+++ b/chrome/gpu/chrome_content_gpu_client.h
@@ -14,6 +14,7 @@
#if defined(OS_CHROMEOS)
#include "chrome/gpu/gpu_arc_video_decode_accelerator.h"
kcwu 2017/06/03 10:58:28 why the code is asymmetric for encode and decode?
Owen Lin 2017/06/03 13:54:08 Done.
+#include "components/arc/common/video_encode_accelerator.mojom.h"
namespace service_manager {
struct BindSourceInfo;
@@ -37,6 +38,10 @@ class ChromeContentGpuClient : public content::ContentGpuClient {
void CreateArcVideoDecodeAccelerator(
const service_manager::BindSourceInfo& source_info,
::arc::mojom::VideoDecodeAcceleratorRequest request);
+
+ void CreateArcVideoEncodeAccelerator(
+ const service_manager::BindSourceInfo& source_info,
+ ::arc::mojom::VideoEncodeAcceleratorRequest request);
#endif
std::unique_ptr<variations::ChildProcessFieldTrialSyncer> field_trial_syncer_;

Powered by Google App Engine
This is Rietveld 408576698