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

Side by Side Diff: chrome/browser/chromeos/drive/change_list_loader_unittest.cc

Issue 1208963003: Move GN obj files to target-specific dirs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \ Created 5 years, 5 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
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 "chrome/browser/chromeos/drive/change_list_loader.h" 5 #include "chrome/browser/chromeos/drive/change_list_loader.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/testing_pref_service.h" 10 #include "base/prefs/testing_pref_service.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h" 14 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h"
15 #include "chrome/browser/chromeos/drive/drive_test_util.h"
15 #include "chrome/browser/chromeos/drive/file_cache.h" 16 #include "chrome/browser/chromeos/drive/file_cache.h"
16 #include "chrome/browser/chromeos/drive/file_change.h" 17 #include "chrome/browser/chromeos/drive/file_change.h"
17 #include "chrome/browser/chromeos/drive/file_system_core_util.h" 18 #include "chrome/browser/chromeos/drive/file_system_core_util.h"
18 #include "chrome/browser/chromeos/drive/job_scheduler.h" 19 #include "chrome/browser/chromeos/drive/job_scheduler.h"
19 #include "chrome/browser/chromeos/drive/resource_metadata.h" 20 #include "chrome/browser/chromeos/drive/resource_metadata.h"
20 #include "chrome/browser/chromeos/drive/test_util.h"
21 #include "chrome/browser/drive/event_logger.h" 21 #include "chrome/browser/drive/event_logger.h"
22 #include "chrome/browser/drive/fake_drive_service.h" 22 #include "chrome/browser/drive/fake_drive_service.h"
23 #include "chrome/browser/drive/test_util.h" 23 #include "chrome/browser/drive/test_util.h"
24 #include "content/public/test/test_browser_thread_bundle.h" 24 #include "content/public/test/test_browser_thread_bundle.h"
25 #include "google_apis/drive/drive_api_parser.h" 25 #include "google_apis/drive/drive_api_parser.h"
26 #include "google_apis/drive/test_util.h" 26 #include "google_apis/drive/test_util.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 28
29 namespace drive { 29 namespace drive {
30 namespace internal { 30 namespace internal {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 392
393 // Unlock the loader, this should resume the pending update. 393 // Unlock the loader, this should resume the pending update.
394 lock.reset(); 394 lock.reset();
395 base::RunLoop().RunUntilIdle(); 395 base::RunLoop().RunUntilIdle();
396 EXPECT_TRUE( 396 EXPECT_TRUE(
397 observer.changed_files().CountDirectory(util::GetDriveMyDriveRootPath())); 397 observer.changed_files().CountDirectory(util::GetDriveMyDriveRootPath()));
398 } 398 }
399 399
400 } // namespace internal 400 } // namespace internal
401 } // namespace drive 401 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/BUILD.gn ('k') | chrome/browser/chromeos/drive/change_list_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698