Index: remoting/protocol/input_stub.cc |
diff --git a/remoting/protocol/input_stub.cc b/remoting/protocol/input_stub.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8bb1ffb8203ce7d7c4648caf02cdce91d0340381 |
--- /dev/null |
+++ b/remoting/protocol/input_stub.cc |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2010 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. |
+ |
+// Interface for a device that receives input events. |
+// This interface handles event messages defined in event.proto. |
+ |
+#include "remoting/protocol/input_stub.h" |
+ |
+namespace remoting { |
+namespace protocol { |
+ |
+ |
+InputStub::InputStub() : authenticated_(false) { |
+} |
+ |
+InputStub::~InputStub() { |
+} |
+ |
+void InputStub::OnAuthenticated() { |
+ authenticated_ = true; |
+} |
+ |
+bool InputStub::authenticated() { |
+ return authenticated_; |
+} |
+ |
+} // namespace protocol |
+} // namespace remoting |