Index: chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
diff --git a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
index 5d11427559f15bb2b64cad5252aea298e776d29a..4d554f33876d7f9287895b776e0593d69d1a6d7d 100644 |
--- a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
+++ b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
@@ -23,12 +23,12 @@ namespace { |
// the file thread. |
// Returns the number of bytes written to the snapshot file. In case of failure, |
// returns zero. |
-uint32 WriteDataChunkIntoSnapshotFileOnFileThread( |
+uint32_t WriteDataChunkIntoSnapshotFileOnFileThread( |
const base::FilePath& snapshot_file_path, |
const std::string& data) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::FILE); |
return base::AppendToFile(snapshot_file_path, data.c_str(), data.size()) |
- ? base::checked_cast<uint32>(data.size()) |
+ ? base::checked_cast<uint32_t>(data.size()) |
: 0; |
} |
@@ -103,7 +103,7 @@ void MTPReadFileWorker::OnDidReadDataChunkFromDeviceFile( |
void MTPReadFileWorker::OnDidWriteDataChunkIntoSnapshotFile( |
scoped_ptr<SnapshotFileDetails> snapshot_file_details, |
- uint32 bytes_written) { |
+ uint32_t bytes_written) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(snapshot_file_details.get()); |
if (snapshot_file_details->AddBytesWritten(bytes_written)) { |