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