| 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..3a2e5d530cb6b06f0803e45b1d0798ffa4e40f52 100644
|
| --- a/chrome/browser/intents/device_attached_intent_source.cc
|
| +++ b/chrome/browser/intents/device_attached_intent_source.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "chrome/browser/intents/device_attached_intent_source.h"
|
|
|
| +#include <string>
|
| +
|
| #include "base/file_path.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -54,7 +56,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(
|
|
|