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

Side by Side Diff: components/drive/file_system/operation_test_base.cc

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « components/drive/file_system.cc ('k') | components/drive/file_system_core_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/drive/file_system/operation_test_base.h" 5 #include "components/drive/file_system/operation_test_base.h"
6 6
7 #include "base/prefs/testing_pref_service.h"
8 #include "base/threading/sequenced_worker_pool.h" 7 #include "base/threading/sequenced_worker_pool.h"
9 #include "components/drive/change_list_loader.h" 8 #include "components/drive/change_list_loader.h"
10 #include "components/drive/event_logger.h" 9 #include "components/drive/event_logger.h"
11 #include "components/drive/fake_free_disk_space_getter.h" 10 #include "components/drive/fake_free_disk_space_getter.h"
12 #include "components/drive/file_cache.h" 11 #include "components/drive/file_cache.h"
13 #include "components/drive/file_change.h" 12 #include "components/drive/file_change.h"
14 #include "components/drive/file_system/operation_delegate.h" 13 #include "components/drive/file_system/operation_delegate.h"
15 #include "components/drive/job_scheduler.h" 14 #include "components/drive/job_scheduler.h"
16 #include "components/drive/resource_metadata.h" 15 #include "components/drive/resource_metadata.h"
17 #include "components/drive/service/fake_drive_service.h" 16 #include "components/drive/service/fake_drive_service.h"
18 #include "components/drive/service/test_util.h" 17 #include "components/drive/service/test_util.h"
18 #include "components/prefs/testing_pref_service.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "content/public/test/test_utils.h" 20 #include "content/public/test/test_utils.h"
21 #include "google_apis/drive/test_util.h" 21 #include "google_apis/drive/test_util.h"
22 22
23 namespace drive { 23 namespace drive {
24 namespace file_system { 24 namespace file_system {
25 25
26 OperationTestBase::LoggingDelegate::LoggingDelegate() { 26 OperationTestBase::LoggingDelegate::LoggingDelegate() {
27 } 27 }
28 28
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 FileError OperationTestBase::CheckForUpdates() { 186 FileError OperationTestBase::CheckForUpdates() {
187 FileError error = FILE_ERROR_FAILED; 187 FileError error = FILE_ERROR_FAILED;
188 change_list_loader_->CheckForUpdates( 188 change_list_loader_->CheckForUpdates(
189 google_apis::test_util::CreateCopyResultCallback(&error)); 189 google_apis::test_util::CreateCopyResultCallback(&error));
190 content::RunAllBlockingPoolTasksUntilIdle(); 190 content::RunAllBlockingPoolTasksUntilIdle();
191 return error; 191 return error;
192 } 192 }
193 193
194 } // namespace file_system 194 } // namespace file_system
195 } // namespace drive 195 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/file_system.cc ('k') | components/drive/file_system_core_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698