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

Unified Diff: chrome/browser/extensions/file_manager_util.cc

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 9 years 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/extensions/file_manager_util.cc
diff --git a/chrome/browser/extensions/file_manager_util.cc b/chrome/browser/extensions/file_manager_util.cc
index ecfc79878bf429920c3b8dd9ea09ba1e8610748c..c2e5da5bd608aff3ac9bf27befb0b5811a78ff8d 100644
--- a/chrome/browser/extensions/file_manager_util.cc
+++ b/chrome/browser/extensions/file_manager_util.cc
@@ -204,10 +204,8 @@ bool ConvertFileToFileSystemUrl(
bool ConvertFileToRelativeFileSystemPath(
Profile* profile, const FilePath& full_file_path, FilePath* virtual_path) {
- fileapi::FileSystemPathManager* path_manager =
- profile->GetFileSystemContext()->path_manager();
fileapi::ExternalFileSystemMountPointProvider* provider =
- path_manager->external_provider();
+ profile->GetFileSystemContext()->external_provider();
if (!provider)
return false;
@@ -348,4 +346,3 @@ bool TryViewingFile(const FilePath& full_path, bool enqueue) {
}
} // namespace file_manager_util
-

Powered by Google App Engine
This is Rietveld 408576698