| Index: chrome/browser/extensions/api/media_gallery/media_gallery_api.cc
|
| diff --git a/chrome/browser/extensions/api/media_gallery/media_gallery_api.cc b/chrome/browser/extensions/api/media_gallery/media_gallery_api.cc
|
| index 9485eb59d4e8a06480c5af4919b5b6bf30500882..7e46ee16e847275c47634231b44597cd3de7420d 100644
|
| --- a/chrome/browser/extensions/api/media_gallery/media_gallery_api.cc
|
| +++ b/chrome/browser/extensions/api/media_gallery/media_gallery_api.cc
|
| @@ -43,13 +43,13 @@ bool GetMediaFileSystemsFunction::RunImpl() {
|
| filesystems[i];
|
| const std::string& fsid = fsid_and_path.first;
|
| const FilePath& path = fsid_and_path.second;
|
| - const std::string basepath_utf8(path.BaseName().AsUTF8Unsafe());
|
|
|
| base::DictionaryValue* dict_value = new base::DictionaryValue();
|
| dict_value->SetWithoutPathExpansion(
|
| "fsid", Value::CreateStringValue(fsid));
|
| + // The directory name is not exposed to the js layer.
|
| dict_value->SetWithoutPathExpansion(
|
| - "dirname", Value::CreateStringValue(basepath_utf8));
|
| + "dirname", Value::CreateStringValue("_"));
|
| list->Append(dict_value);
|
|
|
| content::ChildProcessSecurityPolicy* policy =
|
|
|