| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "webkit/chromeos/fileapi/cros_mount_point_provider.h" | 5 #include "webkit/chromeos/fileapi/cros_mount_point_provider.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 "chromeos/dbus/cros_disks_client.h" | 10 #include "chromeos/dbus/cros_disks_client.h" |
| 11 #include "googleurl/src/url_util.h" | 11 #include "googleurl/src/url_util.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "webkit/fileapi/external_mount_points.h" | 13 #include "webkit/browser/fileapi/external_mount_points.h" |
| 14 #include "webkit/browser/fileapi/isolated_context.h" |
| 14 #include "webkit/fileapi/file_permission_policy.h" | 15 #include "webkit/fileapi/file_permission_policy.h" |
| 15 #include "webkit/fileapi/file_system_url.h" | 16 #include "webkit/fileapi/file_system_url.h" |
| 16 #include "webkit/fileapi/isolated_context.h" | |
| 17 #include "webkit/quota/mock_special_storage_policy.h" | 17 #include "webkit/quota/mock_special_storage_policy.h" |
| 18 | 18 |
| 19 #define FPL(x) FILE_PATH_LITERAL(x) | 19 #define FPL(x) FILE_PATH_LITERAL(x) |
| 20 | 20 |
| 21 using fileapi::ExternalMountPoints; | 21 using fileapi::ExternalMountPoints; |
| 22 using fileapi::FileSystemURL; | 22 using fileapi::FileSystemURL; |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| 25 | 25 |
| 26 FileSystemURL CreateFileSystemURL(const std::string& extension, | 26 FileSystemURL CreateFileSystemURL(const std::string& extension, |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 if (!kTestCases[i].success) | 293 if (!kTestCases[i].success) |
| 294 continue; | 294 continue; |
| 295 | 295 |
| 296 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); | 296 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); |
| 297 EXPECT_EQ(expected_virtual_path, virtual_path) | 297 EXPECT_EQ(expected_virtual_path, virtual_path) |
| 298 << "Resolving " << kTestCases[i].local_path; | 298 << "Resolving " << kTestCases[i].local_path; |
| 299 } | 299 } |
| 300 } | 300 } |
| 301 | 301 |
| 302 } // namespace | 302 } // namespace |
| OLD | NEW |