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

Unified Diff: chrome/browser/chromeos/fileapi/file_system_backend.h

Issue 246293011: Mount MTP devices in Chrome OS Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix test (handle null StorageMonitor in some tests) Created 6 years, 8 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/chromeos/fileapi/file_system_backend.h
diff --git a/chrome/browser/chromeos/fileapi/file_system_backend.h b/chrome/browser/chromeos/fileapi/file_system_backend.h
index 9578126947160868177a328af31361b54da0e744..3b8b146b9f66f0c7c43489c065f04e71520e954c 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend.h
+++ b/chrome/browser/chromeos/fileapi/file_system_backend.h
@@ -70,6 +70,7 @@ class FileSystemBackend : public fileapi::ExternalFileSystemBackend {
FileSystemBackend(
FileSystemBackendDelegate* drive_delegate,
FileSystemBackendDelegate* file_system_provider_delegate,
+ FileSystemBackendDelegate* mtp_delegate,
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy,
scoped_refptr<fileapi::ExternalMountPoints> mount_points,
fileapi::ExternalMountPoints* system_mount_points);
@@ -138,6 +139,9 @@ class FileSystemBackend : public fileapi::ExternalFileSystemBackend {
// The delegate instance for the provided file system related operations.
scoped_ptr<FileSystemBackendDelegate> file_system_provider_delegate_;
+ // The delegate instance for the MTP file system related operations.
+ scoped_ptr<FileSystemBackendDelegate> mtp_delegate_;
+
// Mount points specific to the owning context (i.e. per-profile mount
// points).
//
« no previous file with comments | « chrome/browser/chromeos/file_manager/volume_manager.cc ('k') | chrome/browser/chromeos/fileapi/file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698