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

Side by Side Diff: chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" 5 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
6 6
7 #include "net/base/io_buffer.h" 7 #include "net/base/io_buffer.h"
8 8
9 MTPDeviceAsyncDelegate::ReadBytesRequest::ReadBytesRequest( 9 MTPDeviceAsyncDelegate::ReadBytesRequest::ReadBytesRequest(
10 uint32 file_id, net::IOBuffer* buf, int64 offset, int buf_len, 10 uint32_t file_id,
11 net::IOBuffer* buf,
12 int64_t offset,
13 int buf_len,
11 const ReadBytesSuccessCallback& success_callback, 14 const ReadBytesSuccessCallback& success_callback,
12 const ErrorCallback& error_callback) 15 const ErrorCallback& error_callback)
13 : file_id(file_id), 16 : file_id(file_id),
14 buf(buf), 17 buf(buf),
15 offset(offset), 18 offset(offset),
16 buf_len(buf_len), 19 buf_len(buf_len),
17 success_callback(success_callback), 20 success_callback(success_callback),
18 error_callback(error_callback) { 21 error_callback(error_callback) {}
19 }
20 22
21 MTPDeviceAsyncDelegate::ReadBytesRequest::~ReadBytesRequest() {} 23 MTPDeviceAsyncDelegate::ReadBytesRequest::~ReadBytesRequest() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698