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

Side by Side Diff: components/drive/resource_metadata_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/resource_metadata.h" 5 #include "components/drive/chromeos/resource_metadata.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "components/drive/chromeos/drive_test_util.h" 18 #include "components/drive/chromeos/drive_test_util.h"
19 #include "components/drive/chromeos/fake_free_disk_space_getter.h" 19 #include "components/drive/chromeos/fake_free_disk_space_getter.h"
20 #include "components/drive/chromeos/file_cache.h" 20 #include "components/drive/chromeos/file_cache.h"
21 #include "components/drive/drive.pb.h" 21 #include "components/drive/drive.pb.h"
22 #include "components/drive/file_system_core_util.h" 22 #include "components/drive/file_system_core_util.h"
23 #include "content/public/test/test_browser_thread_bundle.h" 23 #include "content/public/test/test_browser_thread_bundle.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 namespace drive { 26 namespace drive {
27 namespace internal { 27 namespace internal {
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 704
705 // The "trash" directory should be empty. 705 // The "trash" directory should be empty.
706 ASSERT_EQ(FILE_ERROR_OK, 706 ASSERT_EQ(FILE_ERROR_OK,
707 resource_metadata_->ReadDirectoryByPath( 707 resource_metadata_->ReadDirectoryByPath(
708 base::FilePath::FromUTF8Unsafe("drive/trash"), &entries)); 708 base::FilePath::FromUTF8Unsafe("drive/trash"), &entries));
709 EXPECT_TRUE(entries.empty()); 709 EXPECT_TRUE(entries.empty());
710 } 710 }
711 711
712 } // namespace internal 712 } // namespace internal
713 } // namespace drive 713 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/resource_metadata_storage_unittest.cc ('k') | components/drive/search_metadata_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698