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..8b604e3b847fc18ddf86672cca2a9f5dbee191bb |
--- /dev/null |
+++ b/remoting/protocol/input_stub.cc |
@@ -0,0 +1,30 @@ |
+// 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) { |
dmac
2011/03/04 20:32:17
does it need wrap? should it be indented four?
garykac
2011/03/04 20:35:44
Moved onto single line.
|
+} |
+ |
+InputStub::~InputStub() { |
+} |
+ |
+void InputStub::OnAuthenticated() { |
+ authenticated_ = true; |
+} |
+ |
+bool InputStub::authenticated() { |
+ return authenticated_; |
+} |
+ |
+} // namespace protocol |
+} // namespace remoting |