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

Unified Diff: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc

Issue 437313002: Media Galleries: Omit ById in various method names, since all operations are now by id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
diff --git a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
index 674c5c3b2f63cc92827255e28cdc3441233d491a..82bf26ce53bb952fc88eb276b1e4c6eaeefdb1d8 100644
--- a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
+++ b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
@@ -101,7 +101,7 @@ void ReadDirectoryOnUIThread(
GetDeviceTaskHelperForStorage(storage_name);
if (!task_helper)
return;
- task_helper->ReadDirectoryById(dir_id, success_callback, error_callback);
+ task_helper->ReadDirectory(dir_id, success_callback, error_callback);
}
// Gets the |file_path| details.
@@ -123,7 +123,7 @@ void GetFileInfoOnUIThread(
GetDeviceTaskHelperForStorage(storage_name);
if (!task_helper)
return;
- task_helper->GetFileInfoById(file_id, success_callback, error_callback);
+ task_helper->GetFileInfo(file_id, success_callback, error_callback);
}
// Copies the contents of |device_file_path| to |snapshot_file_path|.

Powered by Google App Engine
This is Rietveld 408576698