Index: chrome/browser/chromeos/drive/drive_scheduler_unittest.cc |
diff --git a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc |
index c3f571a07b3134a386ba9ea555273fbb638b9526..c2f7c7a20b8df3351f4f9b43b9fa2c157cbac98a 100644 |
--- a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc |
+++ b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc |
@@ -36,31 +36,6 @@ class MockNetworkChangeNotifier : public net::NetworkChangeNotifier { |
net::NetworkChangeNotifier::ConnectionType()); |
}; |
-class FakeDriveUploader : public google_apis::DriveUploaderInterface { |
- public: |
- FakeDriveUploader() {} |
- virtual ~FakeDriveUploader() {} |
- |
- // DriveUploaderInterface overrides. |
- virtual void UploadNewFile( |
- const std::string& parent_resource_id, |
- const base::FilePath& drive_file_path, |
- const base::FilePath& local_file_path, |
- const std::string& title, |
- const std::string& content_type, |
- const google_apis::UploadCompletionCallback& callback) OVERRIDE { |
- } |
- |
- virtual void UploadExistingFile( |
- const std::string& resource_id, |
- const base::FilePath& drive_file_path, |
- const base::FilePath& local_file_path, |
- const std::string& content_type, |
- const std::string& etag, |
- const google_apis::UploadCompletionCallback& callback) OVERRIDE { |
- } |
-}; |
- |
void CopyResourceIdFromGetResourceEntryCallback( |
std::vector<std::string>* id_list_out, |
const std::string& requested_id, |
@@ -88,11 +63,10 @@ class DriveSchedulerTest : public testing::Test { |
"chromeos/gdata/account_metadata.json"); |
fake_drive_service_->LoadAppListForDriveApi( |
"chromeos/drive/applist.json"); |
- fake_uploader_.reset(new FakeDriveUploader); |
scheduler_.reset(new DriveScheduler(profile_.get(), |
fake_drive_service_.get(), |
- fake_uploader_.get())); |
+ NULL)); |
scheduler_->Initialize(); |
scheduler_->SetDisableThrottling(true); |
@@ -145,7 +119,6 @@ class DriveSchedulerTest : public testing::Test { |
scoped_ptr<DriveScheduler> scheduler_; |
scoped_ptr<MockNetworkChangeNotifier> mock_network_change_notifier_; |
scoped_ptr<google_apis::FakeDriveService> fake_drive_service_; |
- scoped_ptr<FakeDriveUploader> fake_uploader_; |
}; |
TEST_F(DriveSchedulerTest, GetAboutResource) { |