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

Unified Diff: chrome/browser/intents/device_attached_intent_source.cc

Issue 10825042: Implement media path filter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/LocalMediaFileUtil/NativeMediaFileUtil/ 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
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | webkit/fileapi/media/media_path_filter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/device_attached_intent_source.cc
diff --git a/chrome/browser/intents/device_attached_intent_source.cc b/chrome/browser/intents/device_attached_intent_source.cc
index d0259c2702934d81bf592d07d20bc47783f44ced..ac27c4152898242d5306dd8870e94754f4e0c64b 100644
--- a/chrome/browser/intents/device_attached_intent_source.cc
+++ b/chrome/browser/intents/device_attached_intent_source.cc
@@ -54,7 +54,7 @@ void DeviceAttachedIntentSource::OnMediaDeviceAttached(
// TODO(kinuko, kmadhusu): Use a different file system type for MTP.
const std::string filesystem_id =
fileapi::IsolatedContext::GetInstance()->RegisterFileSystemForPath(
- fileapi::kFileSystemTypeIsolated, device_path, &device_name);
+ fileapi::kFileSystemTypeNativeMedia, device_path, &device_name);
CHECK(!filesystem_id.empty());
webkit_glue::WebIntentData intent(
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | webkit/fileapi/media/media_path_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698