Index: chrome/browser/media_gallery/media_file_system_registry.cc |
diff --git a/chrome/browser/media_gallery/media_file_system_registry.cc b/chrome/browser/media_gallery/media_file_system_registry.cc |
index bde66caf069493f6f5163ddb9674954b842a902d..46aac6285afa5fec89e9c97515ee21cc7c0a39ca 100644 |
--- a/chrome/browser/media_gallery/media_file_system_registry.cc |
+++ b/chrome/browser/media_gallery/media_file_system_registry.cc |
@@ -14,6 +14,7 @@ |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_process_host.h" |
+#include "webkit/fileapi/file_system_types.h" |
#include "webkit/fileapi/isolated_context.h" |
namespace chrome { |
@@ -145,8 +146,8 @@ std::string MediaFileSystemRegistry::RegisterPathAsFileSystem( |
// a fixed name (as we only register a single directory per file system). |
std::string register_name("_"); |
const std::string fsid = |
- IsolatedContext::GetInstance()->RegisterFileSystemForFile( |
- path, ®ister_name); |
+ IsolatedContext::GetInstance()->RegisterFileSystemForPath( |
+ fileapi::kFileSystemTypeMedia, path, ®ister_name); |
kmadhusu
2012/07/24 22:02:12
Let the initial changes specify the file system ty
|
CHECK(!fsid.empty()); |
return fsid; |
} |