| Index: chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.cc b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| index 35ab4e32964bebcbe6762f41f0b18d93b39b58d0..84ab2f9744153f66ba96a60725d9f7861104ae18 100644
|
| --- a/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_browser_event_router.cc
|
| @@ -706,15 +706,12 @@ void FileBrowserEventRouter::ShowRemovableDeviceInFileManager(
|
| const base::FilePath dcim_path = mount_path.Append(
|
| FILE_PATH_LITERAL("DCIM"));
|
|
|
| - // Show the action choice dialog only for sd cards with a DCIM directory.
|
| - if (disk.device_type() == chromeos::DEVICE_TYPE_SD) {
|
| - DirectoryExistsOnUIThread(
|
| - dcim_path,
|
| - base::Bind(&file_manager_util::OpenActionChoiceDialog, mount_path),
|
| - base::Bind(&file_manager_util::ViewRemovableDrive, mount_path));
|
| - } else {
|
| - file_manager_util::ViewRemovableDrive(mount_path);
|
| - }
|
| + // Show the action choice dialog only for media with a DCIM directory.
|
| + // Otherwise, just show Files.app.
|
| + DirectoryExistsOnUIThread(
|
| + dcim_path,
|
| + base::Bind(&file_manager_util::OpenActionChoiceDialog, mount_path),
|
| + base::Bind(&file_manager_util::ViewRemovableDrive, mount_path));
|
| }
|
|
|
| void FileBrowserEventRouter::OnDiskAdded(
|
|
|