OLD | NEW |
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/fileapi/file_system_backend.h" | 5 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/path_service.h" | |
11 #include "chromeos/dbus/cros_disks_client.h" | 10 #include "chromeos/dbus/cros_disks_client.h" |
12 #include "content/public/test/mock_special_storage_policy.h" | 11 #include "content/public/test/mock_special_storage_policy.h" |
13 #include "storage/browser/fileapi/external_mount_points.h" | 12 #include "storage/browser/fileapi/external_mount_points.h" |
14 #include "storage/browser/fileapi/file_system_url.h" | 13 #include "storage/browser/fileapi/file_system_url.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "url/url_util.h" | 15 #include "url/url_util.h" |
17 | 16 |
18 #define FPL(x) FILE_PATH_LITERAL(x) | 17 #define FPL(x) FILE_PATH_LITERAL(x) |
19 | 18 |
20 using storage::ExternalMountPoints; | 19 using storage::ExternalMountPoints; |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 if (!kTestCases[i].success) | 270 if (!kTestCases[i].success) |
272 continue; | 271 continue; |
273 | 272 |
274 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); | 273 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); |
275 EXPECT_EQ(expected_virtual_path, virtual_path) | 274 EXPECT_EQ(expected_virtual_path, virtual_path) |
276 << "Resolving " << kTestCases[i].local_path; | 275 << "Resolving " << kTestCases[i].local_path; |
277 } | 276 } |
278 } | 277 } |
279 | 278 |
280 } // namespace | 279 } // namespace |
OLD | NEW |