| Index: remoting/protocol/transport.cc
|
| diff --git a/remoting/protocol/transport.cc b/remoting/protocol/transport.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e1b9eeeadfe3080ef9e470036056c3a7266191f1
|
| --- /dev/null
|
| +++ b/remoting/protocol/transport.cc
|
| @@ -0,0 +1,33 @@
|
| +// Copyright (c) 2012 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 "remoting/protocol/transport.h"
|
| +
|
| +#include "base/logging.h"
|
| +
|
| +namespace remoting {
|
| +namespace protocol {
|
| +
|
| +// static
|
| +std::string TransportRoute::GetTypeString(RouteType type) {
|
| + switch (type) {
|
| + case DIRECT:
|
| + return "direct";
|
| + case STUN:
|
| + return "stun";
|
| + case RELAY:
|
| + return "relay";
|
| + }
|
| + NOTREACHED();
|
| + return "";
|
| +}
|
| +
|
| +TransportRoute::TransportRoute() {
|
| +}
|
| +
|
| +TransportRoute::~TransportRoute() {
|
| +}
|
| +
|
| +} // namespace protocol
|
| +} // namespace remoting
|
|
|