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/browser/fileapi/external_mount_points.h" | 5 #include "webkit/browser/fileapi/external_mount_points.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "webkit/fileapi/file_system_url.h" | 11 #include "webkit/browser/fileapi/file_system_url.h" |
12 | 12 |
13 #define FPL FILE_PATH_LITERAL | 13 #define FPL FILE_PATH_LITERAL |
14 | 14 |
15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) | 15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) |
16 #define DRIVE FPL("C:") | 16 #define DRIVE FPL("C:") |
17 #else | 17 #else |
18 #define DRIVE | 18 #define DRIVE |
19 #endif | 19 #endif |
20 | 20 |
21 using fileapi::FileSystemURL; | 21 using fileapi::FileSystemURL; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 EXPECT_EQ(base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators(
), | 453 EXPECT_EQ(base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators(
), |
454 cracked_path) | 454 cracked_path) |
455 << "Test case index: " << i; | 455 << "Test case index: " << i; |
456 EXPECT_EQ(kTestCases[i].expect_name, cracked_name) | 456 EXPECT_EQ(kTestCases[i].expect_name, cracked_name) |
457 << "Test case index: " << i; | 457 << "Test case index: " << i; |
458 } | 458 } |
459 } | 459 } |
460 | 460 |
461 } // namespace | 461 } // namespace |
462 | 462 |
OLD | NEW |