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

Side by Side Diff: components/drive/chromeos/file_cache_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chromeos/file_cache.h" 5 #include "components/drive/chromeos/file_cache.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include <unistd.h> 11 #include <unistd.h>
12 12
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/callback_helpers.h" 16 #include "base/callback_helpers.h"
17 #include "base/files/file_enumerator.h" 17 #include "base/files/file_enumerator.h"
18 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
19 #include "base/files/scoped_temp_dir.h" 19 #include "base/files/scoped_temp_dir.h"
20 #include "base/md5.h" 20 #include "base/md5.h"
21 #include "base/path_service.h" 21 #include "base/path_service.h"
22 #include "base/single_thread_task_runner.h" 22 #include "base/single_thread_task_runner.h"
23 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
24 #include "base/thread_task_runner_handle.h" 24 #include "base/threading/thread_task_runner_handle.h"
25 #include "base/time/time.h" 25 #include "base/time/time.h"
26 #include "components/drive/chromeos/drive_test_util.h" 26 #include "components/drive/chromeos/drive_test_util.h"
27 #include "components/drive/chromeos/fake_free_disk_space_getter.h" 27 #include "components/drive/chromeos/fake_free_disk_space_getter.h"
28 #include "components/drive/drive.pb.h" 28 #include "components/drive/drive.pb.h"
29 #include "components/drive/file_system_core_util.h" 29 #include "components/drive/file_system_core_util.h"
30 #include "components/drive/resource_metadata_storage.h" 30 #include "components/drive/resource_metadata_storage.h"
31 #include "content/public/test/test_browser_thread_bundle.h" 31 #include "content/public/test/test_browser_thread_bundle.h"
32 #include "google_apis/drive/test_util.h" 32 #include "google_apis/drive/test_util.h"
33 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
34 34
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 878
879 // Clear cache. 879 // Clear cache.
880 EXPECT_TRUE(cache_->ClearAll()); 880 EXPECT_TRUE(cache_->ClearAll());
881 881
882 // Verify that the cache is removed. 882 // Verify that the cache is removed.
883 EXPECT_TRUE(base::IsDirectoryEmpty(cache_files_dir_)); 883 EXPECT_TRUE(base::IsDirectoryEmpty(cache_files_dir_));
884 } 884 }
885 885
886 } // namespace internal 886 } // namespace internal
887 } // namespace drive 887 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/chromeos/change_list_loader.cc ('k') | components/drive/chromeos/file_system/open_file_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698