Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Unified Diff: remoting/protocol/channel_socket_adapter_unittest.cc

Issue 1177983009: Move remoting-specific adapters from jingle/glue to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/channel_socket_adapter.cc ('k') | remoting/protocol/libjingle_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/channel_socket_adapter_unittest.cc
diff --git a/jingle/glue/channel_socket_adapter_unittest.cc b/remoting/protocol/channel_socket_adapter_unittest.cc
similarity index 95%
rename from jingle/glue/channel_socket_adapter_unittest.cc
rename to remoting/protocol/channel_socket_adapter_unittest.cc
index ef1478239654bf457d13d5c0e34bb74842249a07..96992be18e5893d112099139febd69b13983fb85 100644
--- a/jingle/glue/channel_socket_adapter_unittest.cc
+++ b/remoting/protocol/channel_socket_adapter_unittest.cc
@@ -1,11 +1,12 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2015 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/channel_socket_adapter.h"
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
-#include "jingle/glue/channel_socket_adapter.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/socket/socket.h"
@@ -18,7 +19,8 @@ using net::IOBuffer;
using testing::_;
using testing::Return;
-namespace jingle_glue {
+namespace remoting {
+namespace protocol {
namespace {
const int kBufferSize = 4096;
@@ -135,4 +137,5 @@ TEST_F(TransportChannelSocketAdapterTest, WritePending) {
ASSERT_EQ(net::OK, result);
}
-} // namespace jingle_glue
+} // namespace protocol
+} // namespace remoting
« no previous file with comments | « remoting/protocol/channel_socket_adapter.cc ('k') | remoting/protocol/libjingle_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698