summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/input_stub.cc
blob: 8bb1ffb8203ce7d7c4648caf02cdce91d0340381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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