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

Unified Diff: chrome/browser/ui/views/select_file_dialog_extension_browsertest.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/ui/views/select_file_dialog_extension_browsertest.cc
diff --git a/chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc b/chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc
index 22335edd980c5a79a24986b9a9133e3b3a39d69f..0de563d69dacd36b83a9ee6124c901f2c112045c 100644
--- a/chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc
+++ b/chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc
@@ -26,7 +26,6 @@
#include "content/public/browser/notification_types.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_mount_point_provider.h"
-#include "webkit/fileapi/file_system_path_manager.h"
// Mock listener used by test below.
class MockSelectFileDialogListener : public SelectFileDialog::Listener {
@@ -92,10 +91,8 @@ class SelectFileDialogExtensionBrowserTest : public ExtensionBrowserTest {
// Creates a file system mount point for a directory.
void AddMountPoint(const FilePath& path) {
- fileapi::FileSystemPathManager* path_manager =
- browser()->profile()->GetFileSystemContext()->path_manager();
fileapi::ExternalFileSystemMountPointProvider* provider =
- path_manager->external_provider();
+ browser()->profile()->GetFileSystemContext()->external_provider();
provider->AddMountPoint(path);
}

Powered by Google App Engine
This is Rietveld 408576698