| Index: chrome/browser/extensions/extension_file_browser_private_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 82259)
|
| +++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
|
| @@ -195,6 +195,10 @@
|
| NOTREACHED();
|
| }
|
|
|
| + virtual void DidGetLocalPath(const FilePath& local_path) {
|
| + NOTREACHED();
|
| + }
|
| +
|
| virtual void DidReadMetadata(const base::PlatformFileInfo& info,
|
| const FilePath& unused) OVERRIDE {
|
| NOTREACHED();
|
| @@ -358,7 +362,7 @@
|
| // manifest instead of the default extension icon.
|
| GURL icon =
|
| ExtensionIconSource::GetIconURL(extension,
|
| - Extension::EXTENSION_ICON_SMALLISH,
|
| + Extension::EXTENSION_ICON_BITTY,
|
| ExtensionIconSet::MATCH_BIGGER,
|
| false); // grayscale
|
| task->SetString("iconUrl", icon.spec());
|
| @@ -396,6 +400,10 @@
|
| NOTREACHED();
|
| }
|
|
|
| + virtual void DidGetLocalPath(const FilePath& local_path) {
|
| + NOTREACHED();
|
| + }
|
| +
|
| virtual void DidReadMetadata(const base::PlatformFileInfo& info,
|
| const FilePath& unused) OVERRIDE {
|
| NOTREACHED();
|
| @@ -477,11 +485,12 @@
|
| return false;
|
| }
|
|
|
| - FilePath root_path = path_manager->GetFileSystemRootPathOnFileThread(
|
| - file_origin_url,
|
| - fileapi::kFileSystemTypeExternal,
|
| - virtual_path,
|
| - false); // create
|
| + FilePath root_path =
|
| + path_manager->ValidateFileSystemRootAndGetPathOnFileThread(
|
| + file_origin_url,
|
| + fileapi::kFileSystemTypeExternal,
|
| + virtual_path,
|
| + false); // create
|
| FilePath final_file_path = root_path.Append(virtual_path);
|
|
|
| // Check if this file system entry exists first.
|
| @@ -751,7 +760,7 @@
|
| NOTREACHED();
|
| continue;
|
| }
|
| - FilePath root = path_manager->GetFileSystemRootPathOnFileThread(
|
| + FilePath root = path_manager->ValidateFileSystemRootAndGetPathOnFileThread(
|
| origin_url,
|
| fileapi::kFileSystemTypeExternal,
|
| FilePath(virtual_path),
|
|
|