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

Unified Diff: remoting/base/buffered_socket_writer.cc

Issue 954973004: Move BufferedSocketWriter from remoting/protocol to remoting/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/base/buffered_socket_writer.h ('k') | remoting/base/buffered_socket_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/buffered_socket_writer.cc
diff --git a/remoting/protocol/buffered_socket_writer.cc b/remoting/base/buffered_socket_writer.cc
similarity index 97%
rename from remoting/protocol/buffered_socket_writer.cc
rename to remoting/base/buffered_socket_writer.cc
index 28845f9cd527296d5d41642a99f291f52e838b6e..ff2c47f822473a2dfbd5dc0b0bcf03db67d995e1 100644
--- a/remoting/protocol/buffered_socket_writer.cc
+++ b/remoting/base/buffered_socket_writer.cc
@@ -1,8 +1,8 @@
-// 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/buffered_socket_writer.h"
+#include "remoting/base/buffered_socket_writer.h"
#include "base/bind.h"
#include "base/location.h"
@@ -12,7 +12,6 @@
#include "net/base/net_errors.h"
namespace remoting {
-namespace protocol {
struct BufferedSocketWriterBase::PendingPacket {
PendingPacket(scoped_refptr<net::IOBufferWithSize> data,
@@ -232,5 +231,4 @@ void BufferedDatagramWriter::OnError(int result) {
BufferedDatagramWriter::~BufferedDatagramWriter() {
}
-} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/base/buffered_socket_writer.h ('k') | remoting/base/buffered_socket_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698