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

Unified Diff: remoting/host/curtain_mode_android.cc

Issue 1863933002: [remoting android] Add and build host code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@android-host-add-native
Patch Set: Add resources_android.cc Created 4 years, 8 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/host/continue_window_android.cc ('k') | remoting/host/desktop_resizer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/curtain_mode_android.cc
diff --git a/remoting/host/curtain_mode_android.cc b/remoting/host/curtain_mode_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b4caa91690e47b9fe5d639d94c58eb4c37b13cd2
--- /dev/null
+++ b/remoting/host/curtain_mode_android.cc
@@ -0,0 +1,38 @@
+// 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.
+
+#include "base/logging.h"
+#include "base/macros.h"
+#include "base/memory/ptr_util.h"
+#include "remoting/host/curtain_mode.h"
+
+namespace remoting {
+
+namespace {
+
+class CurtainModeAndroid : public CurtainMode {
+ public:
+ CurtainModeAndroid() {}
+
+ // Overriden from CurtainMode.
+ bool Activate() override {
+ NOTIMPLEMENTED();
+ return false;
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CurtainModeAndroid);
+};
+
+} // namespace
+
+// static
+std::unique_ptr<CurtainMode> CurtainMode::Create(
+ scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
+ base::WeakPtr<ClientSessionControl> client_session_control) {
+ return base::WrapUnique(new CurtainModeAndroid());
+}
+
+} // namespace remoting
« no previous file with comments | « remoting/host/continue_window_android.cc ('k') | remoting/host/desktop_resizer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698