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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 FileSystemMountOption cracked_option; | 354 FileSystemMountOption cracked_option; |
355 ASSERT_TRUE(isolated_context()->CrackVirtualPath( | 355 ASSERT_TRUE(isolated_context()->CrackVirtualPath( |
356 whole_virtual_path, &cracked_id, NULL, &cracked_inner_id, | 356 whole_virtual_path, &cracked_id, NULL, &cracked_inner_id, |
357 &cracked_path, &cracked_option)); | 357 &cracked_path, &cracked_option)); |
358 ASSERT_EQ(database_fsid, cracked_id); | 358 ASSERT_EQ(database_fsid, cracked_id); |
359 ASSERT_EQ(test_virtual_path, cracked_path); | 359 ASSERT_EQ(test_virtual_path, cracked_path); |
360 EXPECT_TRUE(cracked_inner_id.empty()); | 360 EXPECT_TRUE(cracked_inner_id.empty()); |
361 } | 361 } |
362 | 362 |
363 } // namespace content | 363 } // namespace content |
OLD | NEW |