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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.cc

Issue 10810053: Enables internal filesystem types via Isolated filesystems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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, &register_name);
+ IsolatedContext::GetInstance()->RegisterFileSystemForPath(
+ fileapi::kFileSystemTypeMedia, path, &register_name);
kmadhusu 2012/07/24 22:02:12 Let the initial changes specify the file system ty
CHECK(!fsid.empty());
return fsid;
}

Powered by Google App Engine
This is Rietveld 408576698