| 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 "webkit/browser/fileapi/external_mount_points.h" | 5 #include "storage/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 "storage/browser/fileapi/file_system_url.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.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 storage::FileSystemURL; | 21 using storage::FileSystemURL; |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 &option)); | 492 &option)); |
| 493 EXPECT_EQ(storage::COPY_SYNC_OPTION_NO_SYNC, option.copy_sync_option()); | 493 EXPECT_EQ(storage::COPY_SYNC_OPTION_NO_SYNC, option.copy_sync_option()); |
| 494 EXPECT_TRUE(mount_points->CrackVirtualPath( | 494 EXPECT_TRUE(mount_points->CrackVirtualPath( |
| 495 base::FilePath(FPL("sync/file")), &name, &type, &cracked_id, &path, | 495 base::FilePath(FPL("sync/file")), &name, &type, &cracked_id, &path, |
| 496 &option)); | 496 &option)); |
| 497 EXPECT_EQ(storage::COPY_SYNC_OPTION_SYNC, option.copy_sync_option()); | 497 EXPECT_EQ(storage::COPY_SYNC_OPTION_SYNC, option.copy_sync_option()); |
| 498 } | 498 } |
| 499 | 499 |
| 500 } // namespace content | 500 } // namespace content |
| 501 | 501 |
| OLD | NEW |