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

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

Issue 377383002: Media Galleries: Access MTP devices by file ids rather than file paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « chrome/browser/media_galleries/linux/snapshot_file_details.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/linux/snapshot_file_details.cc
diff --git a/chrome/browser/media_galleries/linux/snapshot_file_details.cc b/chrome/browser/media_galleries/linux/snapshot_file_details.cc
index 92997c86f4814474cdd976113fb0f4cce6c326d7..e2408badef834c74e13c28e66f285bb14f3a784e 100644
--- a/chrome/browser/media_galleries/linux/snapshot_file_details.cc
+++ b/chrome/browser/media_galleries/linux/snapshot_file_details.cc
@@ -11,12 +11,12 @@
////////////////////////////////////////////////////////////////////////////////
SnapshotRequestInfo::SnapshotRequestInfo(
- const std::string& device_file_path,
+ uint32 file_id,
const base::FilePath& snapshot_file_path,
const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback&
success_callback,
const MTPDeviceAsyncDelegate::ErrorCallback& error_callback)
- : device_file_path(device_file_path),
+ : file_id(file_id),
snapshot_file_path(snapshot_file_path),
success_callback(success_callback),
error_callback(error_callback) {
« no previous file with comments | « chrome/browser/media_galleries/linux/snapshot_file_details.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698