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

Unified Diff: remoting/client/jni/jni_display_handler.cc

Issue 2101833002: [Remoting Android] DisplayUpdaterFactory cleanups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's Feedback Created 4 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
« no previous file with comments | « remoting/client/jni/jni_display_handler.h ('k') | remoting/client/jni/jni_frame_consumer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_display_handler.cc
diff --git a/remoting/client/jni/jni_display_handler.cc b/remoting/client/jni/jni_display_handler.cc
index b699461e800a7585be9c90817bad05ebff8d9fe4..f7213858cddc4176f52cc88f0522cf23ae9aafff 100644
--- a/remoting/client/jni/jni_display_handler.cc
+++ b/remoting/client/jni/jni_display_handler.cc
@@ -12,7 +12,6 @@
#include "jni/Display_jni.h"
#include "remoting/client/jni/chromoting_jni_runtime.h"
#include "remoting/client/jni/jni_client.h"
-#include "remoting/client/jni/jni_frame_consumer.h"
#include "remoting/client/jni/jni_video_renderer.h"
using base::android::JavaParamRef;
@@ -88,12 +87,13 @@ std::unique_ptr<protocol::CursorShapeStub>
JniDisplayHandler::CreateCursorShapeStub() {
return base::WrapUnique(
new DisplayCursorShapeStub(weak_factory_.GetWeakPtr(),
- runtime_->display_task_runner()));
+ runtime_->display_task_runner()));
}
-std::unique_ptr<JniVideoRenderer> JniDisplayHandler::CreateVideoRenderer() {
+std::unique_ptr<protocol::VideoRenderer>
+JniDisplayHandler::CreateVideoRenderer() {
return base::WrapUnique(
- new JniFrameConsumer(runtime_, weak_factory_.GetWeakPtr()));
+ new JniVideoRenderer(runtime_, weak_factory_.GetWeakPtr()));
Yuwei 2016/06/30 07:51:02 After separating initialization code from the ctor
Yuwei 2016/06/30 19:13:54 I will hold off this change to a future CL. Curren
}
// static
« no previous file with comments | « remoting/client/jni/jni_display_handler.h ('k') | remoting/client/jni/jni_frame_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698