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

Side by Side Diff: remoting/protocol/buffered_socket_writer.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/buffered_socket_writer.h" 5 #include "remoting/protocol/buffered_socket_writer.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 namespace protocol { 12 namespace protocol {
13 13
14 class BufferedSocketWriterBase::PendingPacket { 14 class BufferedSocketWriterBase::PendingPacket {
15 public: 15 public:
16 PendingPacket(scoped_refptr<net::IOBufferWithSize> data, Task* done_task) 16 PendingPacket(scoped_refptr<net::IOBufferWithSize> data, Task* done_task)
17 : data_(data), 17 : data_(data),
18 done_task_(done_task) { 18 done_task_(done_task) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 buffer_size_ -= queue_.front()->data()->size(); 215 buffer_size_ -= queue_.front()->data()->size();
216 PopQueue(); 216 PopQueue();
217 } 217 }
218 218
219 void BufferedDatagramWriter::OnError_Locked(int result) { 219 void BufferedDatagramWriter::OnError_Locked(int result) {
220 // Nothing to do here. 220 // Nothing to do here.
221 } 221 }
222 222
223 } // namespace protocol 223 } // namespace protocol
224 } // namespace remoting 224 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698