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

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

Issue 2736613002: mediaview: Implement ArcDocumentsProviderWatcherManager. (Closed)
Patch Set: Created 3 years, 9 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/chromeos/arc/fileapi/arc_documents_provider_watcher_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/fileapi/file_system_backend.cc
diff --git a/chrome/browser/chromeos/fileapi/file_system_backend.cc b/chrome/browser/chromeos/fileapi/file_system_backend.cc
index 299f128be9228cea22b5d873eb00e100f84be9fe..3ed4d84e8661906ec8598a0586968ffc6eae6bac 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend.cc
+++ b/chrome/browser/chromeos/fileapi/file_system_backend.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <memory>
+#include <utility>
#include "base/command_line.h"
#include "base/logging.h"
@@ -301,6 +302,9 @@ storage::WatcherManager* FileSystemBackend::GetWatcherManager(
return mtp_delegate_->GetWatcherManager(type);
}
+ if (type == storage::kFileSystemTypeArcDocumentsProvider)
+ return arc_documents_provider_delegate_->GetWatcherManager(type);
+
// TODO(mtomasz): Add support for other backends.
return NULL;
}
« no previous file with comments | « chrome/browser/chromeos/arc/fileapi/arc_documents_provider_watcher_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698