| 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/file_system_operation_impl.h" | 5 #include "webkit/browser/fileapi/file_system_operation_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/files/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/run_loop.h" | 13 #include "base/run_loop.h" |
| 14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 15 #include "content/browser/fileapi/mock_file_change_observer.h" | 15 #include "content/browser/fileapi/mock_file_change_observer.h" |
| 16 #include "content/browser/quota/mock_quota_manager.h" | 16 #include "content/browser/quota/mock_quota_manager.h" |
| 17 #include "content/browser/quota/mock_quota_manager_proxy.h" | 17 #include "content/browser/quota/mock_quota_manager_proxy.h" |
| 18 #include "content/public/test/async_file_test_helper.h" | 18 #include "content/public/test/async_file_test_helper.h" |
| (...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 base::Bind(&AssertFileErrorEqWithClosure, | 1333 base::Bind(&AssertFileErrorEqWithClosure, |
| 1334 FROM_HERE, | 1334 FROM_HERE, |
| 1335 base::File::FILE_OK, | 1335 base::File::FILE_OK, |
| 1336 run_loop.QuitClosure())); | 1336 run_loop.QuitClosure())); |
| 1337 run_loop.Run(); | 1337 run_loop.Run(); |
| 1338 } | 1338 } |
| 1339 EXPECT_EQ(0, GetFileSize("dest")); | 1339 EXPECT_EQ(0, GetFileSize("dest")); |
| 1340 } | 1340 } |
| 1341 | 1341 |
| 1342 } // namespace content | 1342 } // namespace content |
| OLD | NEW |