| 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 "webkit/browser/fileapi/syncable/syncable_file_system_util.h" | 5 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "webkit/browser/fileapi/external_mount_points.h" | 11 #include "webkit/browser/fileapi/external_mount_points.h" |
| 12 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h" | 12 #include "webkit/browser/fileapi/syncable/canned_syncable_file_system.h" |
| 13 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" | 13 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" |
| 14 #include "webkit/common/fileapi/file_system_types.h" | 14 #include "webkit/common/fileapi/file_system_types.h" |
| 15 | 15 |
| 16 using fileapi::ExternalMountPoints; | 16 using fileapi::ExternalMountPoints; |
| 17 using fileapi::FileSystemURL; | 17 using fileapi::FileSystemURL; |
| 18 | 18 |
| 19 namespace sync_file_system { | 19 namespace sync_file_system { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // False case: different origin. | 167 // False case: different origin. |
| 168 EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( | 168 EXPECT_FALSE(CreateFileSystemURL(root1 + parent).IsParent( |
| 169 CreateFileSystemURL(root2 + child))); | 169 CreateFileSystemURL(root2 + child))); |
| 170 EXPECT_FALSE(CreateFileSystemURL(root2 + parent).IsParent( | 170 EXPECT_FALSE(CreateFileSystemURL(root2 + parent).IsParent( |
| 171 CreateFileSystemURL(root1 + child))); | 171 CreateFileSystemURL(root1 + child))); |
| 172 | 172 |
| 173 RevokeSyncableFileSystem(); | 173 RevokeSyncableFileSystem(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace sync_file_system | 176 } // namespace sync_file_system |
| OLD | NEW |