OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/file_system_util.h" | 5 #include "chrome/browser/chromeos/drive/file_system_util.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 15 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
16 #include "chrome/test/base/testing_browser_process.h" | 16 #include "chrome/test/base/testing_browser_process.h" |
17 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
18 #include "chrome/test/base/testing_profile_manager.h" | 18 #include "chrome/test/base/testing_profile_manager.h" |
19 #include "content/public/test/test_browser_thread_bundle.h" | 19 #include "content/public/test/test_browser_thread_bundle.h" |
20 #include "content/public/test/test_file_system_options.h" | 20 #include "content/public/test/test_file_system_options.h" |
21 #include "google_apis/drive/test_util.h" | 21 #include "google_apis/drive/test_util.h" |
22 #include "storage/browser/fileapi/external_mount_points.h" | 22 #include "storage/browser/fileapi/external_mount_points.h" |
23 #include "storage/browser/fileapi/file_system_backend.h" | 23 #include "storage/browser/fileapi/file_system_backend.h" |
24 #include "storage/browser/fileapi/file_system_context.h" | 24 #include "storage/browser/fileapi/file_system_context.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 TEST_F(ProfileRelatedFileSystemUtilTest, GetCacheRootPath) { | 180 TEST_F(ProfileRelatedFileSystemUtilTest, GetCacheRootPath) { |
181 TestingProfile profile; | 181 TestingProfile profile; |
182 base::FilePath profile_path = profile.GetPath(); | 182 base::FilePath profile_path = profile.GetPath(); |
183 EXPECT_EQ(profile_path.AppendASCII("GCache/v1"), | 183 EXPECT_EQ(profile_path.AppendASCII("GCache/v1"), |
184 util::GetCacheRootPath(&profile)); | 184 util::GetCacheRootPath(&profile)); |
185 } | 185 } |
186 | 186 |
187 } // namespace util | 187 } // namespace util |
188 } // namespace drive | 188 } // namespace drive |
OLD | NEW |