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

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

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 3 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/location.h"
7 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
8 #include "base/stl_util.h" 9 #include "base/stl_util.h"
9 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 namespace protocol { 13 namespace protocol {
13 14
14 class BufferedSocketWriterBase::PendingPacket { 15 class BufferedSocketWriterBase::PendingPacket {
15 public: 16 public:
16 PendingPacket(scoped_refptr<net::IOBufferWithSize> data, Task* done_task) 17 PendingPacket(scoped_refptr<net::IOBufferWithSize> data, Task* done_task)
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 buffer_size_ -= queue_.front()->data()->size(); 222 buffer_size_ -= queue_.front()->data()->size();
222 PopQueue(); 223 PopQueue();
223 } 224 }
224 225
225 void BufferedDatagramWriter::OnError_Locked(int result) { 226 void BufferedDatagramWriter::OnError_Locked(int result) {
226 // Nothing to do here. 227 // Nothing to do here.
227 } 228 }
228 229
229 } // namespace protocol 230 } // namespace protocol
230 } // namespace remoting 231 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/plugin/policy_hack/nat_policy.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698