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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager_unittest.cc

Issue 192573002: [fsp] Introduce file_system_provider::Service class for the FileSystemProvider API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified. Created 6 years, 9 months 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/chromeos/file_manager/volume_manager_unittest.cc
diff --git a/chrome/browser/chromeos/file_manager/volume_manager_unittest.cc b/chrome/browser/chromeos/file_manager/volume_manager_unittest.cc
index dd76c3a75a1bcca507936d9f3bdf04ee8603402b..d311301b9bb63263625d3e780ebf7bcb8fc917e8 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager_unittest.cc
+++ b/chrome/browser/chromeos/file_manager/volume_manager_unittest.cc
@@ -11,6 +11,7 @@
#include "base/prefs/pref_service.h"
#include "chrome/browser/chromeos/file_manager/fake_disk_mount_manager.h"
#include "chrome/browser/chromeos/file_manager/volume_manager_observer.h"
+#include "chrome/browser/chromeos/file_system_provider/service.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
#include "chromeos/dbus/fake_power_manager_client.h"
@@ -146,16 +147,22 @@ class VolumeManagerTest : public testing::Test {
power_manager_client_.reset(new chromeos::FakePowerManagerClient);
disk_mount_manager_.reset(new FakeDiskMountManager);
profile_.reset(new TestingProfile);
- volume_manager_.reset(new VolumeManager(profile_.get(),
- NULL, // DriveIntegrationService
- power_manager_client_.get(),
- disk_mount_manager_.get()));
+ file_system_provider_service_.reset(
+ new chromeos::file_system_provider::Service(profile_.get()));
+ volume_manager_.reset(
+ new VolumeManager(profile_.get(),
+ NULL, // DriveIntegrationService
+ power_manager_client_.get(),
+ disk_mount_manager_.get(),
+ file_system_provider_service_.get()));
}
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<chromeos::FakePowerManagerClient> power_manager_client_;
scoped_ptr<FakeDiskMountManager> disk_mount_manager_;
scoped_ptr<TestingProfile> profile_;
+ scoped_ptr<chromeos::file_system_provider::Service>
+ file_system_provider_service_;
scoped_ptr<VolumeManager> volume_manager_;
};
« no previous file with comments | « chrome/browser/chromeos/file_manager/volume_manager_factory.cc ('k') | chrome/browser/chromeos/file_system_provider/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698