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

Side by Side Diff: net/curvecp/received_block_list.cc

Issue 7037022: An initial curvecp implementation. This implementation is not complete, (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "net/curvecp/received_block_list.h" 5 #include "net/curvecp/received_block_list.h"
6 6
7 #include "net/base/io_buffer.h" 7 #include "net/base/io_buffer.h"
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 std::string msg; 87 std::string msg;
88 std::ostringstream stream(msg); 88 std::ostringstream stream(msg);
89 for (size_t index = 0; index < list_.size(); ++index) 89 for (size_t index = 0; index < list_.size(); ++index)
90 stream << "(" << list_[index].position 90 stream << "(" << list_[index].position
91 << "," << list_[index].data->size() << ")"; 91 << "," << list_[index].data->size() << ")";
92 LOG(INFO) << stream.str(); 92 LOG(INFO) << stream.str();
93 } 93 }
94 94
95 95
96 } // namespace net 96 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698