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

Side by Side Diff: remoting/base/compound_buffer.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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
« no previous file with comments | « remoting/base/compound_buffer.h ('k') | remoting/base/compound_buffer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/base/compound_buffer.h" 5 #include "remoting/base/compound_buffer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // If the current buffer is fully read, then advance to the next buffer. 265 // If the current buffer is fully read, then advance to the next buffer.
266 if (current_chunk_position_ == chunk.size) { 266 if (current_chunk_position_ == chunk.size) {
267 ++current_chunk_; 267 ++current_chunk_;
268 current_chunk_position_ = 0; 268 current_chunk_position_ = 0;
269 } 269 }
270 } 270 }
271 271
272 return count == 0; 272 return count == 0;
273 } 273 }
274 274
275 int64 CompoundBufferInputStream::ByteCount() const { 275 int64_t CompoundBufferInputStream::ByteCount() const {
276 return position_; 276 return position_;
277 } 277 }
278 278
279 } // namespace remoting 279 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/compound_buffer.h ('k') | remoting/base/compound_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698