| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/fileapi/local_file_system_operation.h" | 5 #include "webkit/fileapi/local_file_system_operation.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
| 14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 #include "webkit/blob/shareable_file_reference.h" | 16 #include "webkit/blob/shareable_file_reference.h" |
| 17 #include "webkit/fileapi/async_file_test_helper.h" | 17 #include "webkit/fileapi/async_file_test_helper.h" |
| 18 #include "webkit/fileapi/file_system_context.h" | 18 #include "webkit/fileapi/file_system_context.h" |
| 19 #include "webkit/fileapi/file_system_file_util.h" | 19 #include "webkit/fileapi/file_system_file_util.h" |
| 20 #include "webkit/fileapi/file_system_mount_point_provider.h" | 20 #include "webkit/fileapi/file_system_mount_point_provider.h" |
| 21 #include "webkit/fileapi/file_system_operation_context.h" |
| 21 #include "webkit/fileapi/file_system_quota_util.h" | 22 #include "webkit/fileapi/file_system_quota_util.h" |
| 22 #include "webkit/fileapi/file_system_util.h" | 23 #include "webkit/fileapi/file_system_util.h" |
| 23 #include "webkit/fileapi/local_file_system_test_helper.h" | 24 #include "webkit/fileapi/local_file_system_test_helper.h" |
| 24 #include "webkit/fileapi/mock_file_change_observer.h" | 25 #include "webkit/fileapi/mock_file_change_observer.h" |
| 25 #include "webkit/quota/mock_quota_manager.h" | 26 #include "webkit/quota/mock_quota_manager.h" |
| 26 #include "webkit/quota/quota_manager.h" | 27 #include "webkit/quota/quota_manager.h" |
| 27 | 28 |
| 28 using quota::QuotaManager; | 29 using quota::QuotaManager; |
| 29 using quota::QuotaManagerProxy; | 30 using quota::QuotaManagerProxy; |
| 30 using webkit_blob::ShareableFileReference; | 31 using webkit_blob::ShareableFileReference; |
| (...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1212 EXPECT_FALSE(info().is_directory); | 1213 EXPECT_FALSE(info().is_directory); |
| 1213 EXPECT_EQ(PlatformPath(file_path), path()); | 1214 EXPECT_EQ(PlatformPath(file_path), path()); |
| 1214 EXPECT_TRUE(change_observer()->HasNoChange()); | 1215 EXPECT_TRUE(change_observer()->HasNoChange()); |
| 1215 | 1216 |
| 1216 // The FileSystemOpration implementation does not create a | 1217 // The FileSystemOpration implementation does not create a |
| 1217 // shareable file reference. | 1218 // shareable file reference. |
| 1218 EXPECT_EQ(NULL, shareable_file_ref()); | 1219 EXPECT_EQ(NULL, shareable_file_ref()); |
| 1219 } | 1220 } |
| 1220 | 1221 |
| 1221 } // namespace fileapi | 1222 } // namespace fileapi |
| OLD | NEW |