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

Side by Side Diff: net/curvecp/sent_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/sent_block_list.h" 5 #include "net/curvecp/sent_block_list.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/io_buffer.h" 8 #include "net/base/io_buffer.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 LOG(INFO) << "Sent Blocks: " << list_.size(); 124 LOG(INFO) << "Sent Blocks: " << list_.size();
125 std::string msg; 125 std::string msg;
126 std::ostringstream stream(msg); 126 std::ostringstream stream(msg);
127 for (size_t index = 0; index < list_.size(); ++index) 127 for (size_t index = 0; index < list_.size(); ++index)
128 stream << "(" << list_[index].position 128 stream << "(" << list_[index].position
129 << "," << list_[index].length << ")"; 129 << "," << list_[index].length << ")";
130 LOG(INFO) << stream.str(); 130 LOG(INFO) << stream.str();
131 } 131 }
132 132
133 } // namespace net 133 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698