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

Unified Diff: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc

Issue 1550503002: Switch to standard integer types in base/threading/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
diff --git a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
index 9e78208cc1198a6f877e945cce3e6f04830fa3cc..addfd8727405b43900f8d202f156a42f683899e4 100644
--- a/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
+++ b/components/storage_monitor/test_media_transfer_protocol_manager_linux.cc
@@ -51,7 +51,7 @@ void TestMediaTransferProtocolManagerLinux::CloseStorage(
void TestMediaTransferProtocolManagerLinux::CreateDirectory(
const std::string& storage_handle,
- const uint32 parent_id,
+ const uint32_t parent_id,
const std::string& directory_name,
const CreateDirectoryCallback& callback) {
callback.Run(true /* error */);
@@ -59,7 +59,7 @@ void TestMediaTransferProtocolManagerLinux::CreateDirectory(
void TestMediaTransferProtocolManagerLinux::ReadDirectory(
const std::string& storage_handle,
- const uint32 file_id,
+ const uint32_t file_id,
const size_t max_size,
const ReadDirectoryCallback& callback) {
callback.Run(std::vector<MtpFileEntry>(),
@@ -69,23 +69,23 @@ void TestMediaTransferProtocolManagerLinux::ReadDirectory(
void TestMediaTransferProtocolManagerLinux::ReadFileChunk(
const std::string& storage_handle,
- uint32 file_id,
- uint32 offset,
- uint32 count,
+ uint32_t file_id,
+ uint32_t offset,
+ uint32_t count,
const ReadFileCallback& callback) {
callback.Run(std::string(), true);
}
void TestMediaTransferProtocolManagerLinux::GetFileInfo(
const std::string& storage_handle,
- uint32 file_id,
+ uint32_t file_id,
const GetFileInfoCallback& callback) {
callback.Run(MtpFileEntry(), true);
}
void TestMediaTransferProtocolManagerLinux::RenameObject(
const std::string& storage_handle,
- const uint32 object_id,
+ const uint32_t object_id,
const std::string& new_name,
const RenameObjectCallback& callback) {
callback.Run(true /* error */);
@@ -94,7 +94,7 @@ void TestMediaTransferProtocolManagerLinux::RenameObject(
void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal(
const std::string& storage_handle,
const int source_file_descriptor,
- const uint32 parent_id,
+ const uint32_t parent_id,
const std::string& file_name,
const CopyFileFromLocalCallback& callback) {
callback.Run(true /* error */);
@@ -102,7 +102,7 @@ void TestMediaTransferProtocolManagerLinux::CopyFileFromLocal(
void TestMediaTransferProtocolManagerLinux::DeleteObject(
const std::string& storage_handle,
- const uint32 object_id,
+ const uint32_t object_id,
const DeleteObjectCallback& callback) {
callback.Run(true /* error */);
}

Powered by Google App Engine
This is Rietveld 408576698