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

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: 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/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..eb853a263edbb49dee5f6e4c520827777b2c184d 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::kFileSystemTypeLocalMedia, device_path, &device_name);
kmadhusu 2012/07/26 20:26:43 This is a file system for attached device media. C
tzik 2012/07/27 01:00:23 Hmm. We might have two type of media device. One i
kmadhusu 2012/07/27 01:22:42 I thought kFileSystemTypeLocalMedia corresponds to
tzik 2012/07/27 18:33:22 Yes, I mean that exactly. As we chatted, s/LocalMe
CHECK(!filesystem_id.empty());
webkit_glue::WebIntentData intent(
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation_context.h » ('j') | webkit/fileapi/media/local_media_file_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698