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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 39d0c4921b768aaf82db5b4057e5e2b331e2ac8f..af5a007d0303e75102d24265a070e750f95470f9 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -170,6 +170,10 @@
#include "chrome/browser/signin/signin_manager_factory.h"
#endif
+#if !defined(OS_ANDROID)
+#include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h"
+#endif
+
using base::FileDescriptor;
using content::AccessTokenStore;
using content::BrowserChildProcessHostIterator;
@@ -2108,6 +2112,15 @@ void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
additional_allowed_schemes->push_back(extensions::kExtensionScheme);
}
+void ChromeContentBrowserClient::GetAdditionalFileSystemMountPointProviders(
+ const base::FilePath& storage_partition_path,
+ ScopedVector<fileapi::FileSystemMountPointProvider>* additional_providers) {
+#if !defined(OS_ANDROID)
+ additional_providers->push_back(new MediaFileSystemMountPointProvider(
+ storage_partition_path));
+#endif
+}
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const CommandLine& command_line,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/media_galleries/fileapi/device_media_async_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698