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

Unified Diff: remoting/client/jni/display_updater_factory.h

Issue 2338473002: [Remoting Android] JniGlDisplayHandler calls invalidate() on UI thread (Closed)
Patch Set: Reviewer's Feedback Created 4 years, 3 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/chromoting_jni_instance.cc ('k') | remoting/client/jni/jni_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/display_updater_factory.h
diff --git a/remoting/client/jni/display_updater_factory.h b/remoting/client/jni/display_updater_factory.h
deleted file mode 100644
index 9826e96117137831fd4f7e5d1928deef7508fcdc..0000000000000000000000000000000000000000
--- a/remoting/client/jni/display_updater_factory.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_JNI_DISPLAY_UPDATER_FACTORY_H_
-#define REMOTING_CLIENT_JNI_DISPLAY_UPDATER_FACTORY_H_
-
-#include <memory>
-
-#include "base/macros.h"
-
-namespace remoting {
-
-namespace protocol {
-class CursorShapeStub;
-class VideoRenderer;
-} // namespace protocol
-
-// Interface for creating objects to update image (desktop frame or cursor
-// shape) to display. Factory functions can be called on any thread but the
-// returned object should be used on the network thread.
-class DisplayUpdaterFactory {
- public:
- virtual ~DisplayUpdaterFactory() {}
-
- virtual std::unique_ptr<protocol::CursorShapeStub>
- CreateCursorShapeStub() = 0;
- virtual std::unique_ptr<protocol::VideoRenderer> CreateVideoRenderer() = 0;
-
- protected:
- DisplayUpdaterFactory() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DisplayUpdaterFactory);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CLIENT_JNI_DISPLAY_UPDATER_FACTORY_H_
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/client/jni/jni_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698