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 <stddef.h> |
| 8 |
7 #include <set> | 9 #include <set> |
8 | 10 |
9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
10 #include "chromeos/dbus/cros_disks_client.h" | 13 #include "chromeos/dbus/cros_disks_client.h" |
11 #include "storage/browser/fileapi/external_mount_points.h" | 14 #include "storage/browser/fileapi/external_mount_points.h" |
12 #include "storage/browser/fileapi/file_system_url.h" | 15 #include "storage/browser/fileapi/file_system_url.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "url/url_util.h" | 17 #include "url/url_util.h" |
15 | 18 |
16 #define FPL(x) FILE_PATH_LITERAL(x) | 19 #define FPL(x) FILE_PATH_LITERAL(x) |
17 | 20 |
18 using storage::ExternalMountPoints; | 21 using storage::ExternalMountPoints; |
19 using storage::FileSystemURL; | 22 using storage::FileSystemURL; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 if (!kTestCases[i].success) | 237 if (!kTestCases[i].success) |
235 continue; | 238 continue; |
236 | 239 |
237 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); | 240 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); |
238 EXPECT_EQ(expected_virtual_path, virtual_path) | 241 EXPECT_EQ(expected_virtual_path, virtual_path) |
239 << "Resolving " << kTestCases[i].local_path; | 242 << "Resolving " << kTestCases[i].local_path; |
240 } | 243 } |
241 } | 244 } |
242 | 245 |
243 } // namespace | 246 } // namespace |
OLD | NEW |