OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/logging.h" | |
6 #include "base/macros.h" | |
7 #include "base/memory/ptr_util.h" | |
8 #include "remoting/host/curtain_mode.h" | |
9 | |
10 namespace remoting { | |
11 | |
12 namespace { | |
13 | |
14 class CurtainModeAndroid : public CurtainMode { | |
15 public: | |
16 CurtainModeAndroid() {} | |
17 | |
18 // Overriden from CurtainMode. | |
19 bool Activate() override { | |
20 NOTIMPLEMENTED(); | |
21 return false; | |
22 } | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(CurtainModeAndroid); | |
26 }; | |
27 | |
28 } // namespace | |
29 | |
30 // static | |
31 std::unique_ptr<CurtainMode> CurtainMode::Create( | |
32 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | |
33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | |
34 base::WeakPtr<ClientSessionControl> client_session_control) { | |
35 return base::WrapUnique(new CurtainModeAndroid()); | |
36 } | |
37 | |
38 } // namespace remoting | |
OLD | NEW |