| 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_url_request_job.h" | 5 #include "webkit/browser/fileapi/file_system_url_request_job.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
| 13 #include "base/format_macros.h" | 13 #include "base/format_macros.h" |
| 14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
| 17 #include "base/message_loop/message_loop_proxy.h" | 17 #include "base/message_loop/message_loop_proxy.h" |
| 18 #include "base/platform_file.h" | |
| 19 #include "base/rand_util.h" | 18 #include "base/rand_util.h" |
| 20 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
| 21 #include "base/strings/string_piece.h" | 20 #include "base/strings/string_piece.h" |
| 22 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
| 23 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
| 24 #include "content/public/test/async_file_test_helper.h" | 23 #include "content/public/test/async_file_test_helper.h" |
| 25 #include "content/public/test/test_file_system_backend.h" | 24 #include "content/public/test/test_file_system_backend.h" |
| 26 #include "content/public/test/test_file_system_context.h" | 25 #include "content/public/test/test_file_system_context.h" |
| 27 #include "net/base/load_flags.h" | 26 #include "net/base/load_flags.h" |
| 28 #include "net/base/mime_util.h" | 27 #include "net/base/mime_util.h" |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 EXPECT_TRUE(delegate_->request_failed()); | 453 EXPECT_TRUE(delegate_->request_failed()); |
| 455 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); | 454 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); |
| 456 | 455 |
| 457 ASSERT_FALSE( | 456 ASSERT_FALSE( |
| 458 fileapi::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | 457 fileapi::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( |
| 459 kValidExternalMountPoint)); | 458 kValidExternalMountPoint)); |
| 460 } | 459 } |
| 461 | 460 |
| 462 } // namespace | 461 } // namespace |
| 463 } // namespace content | 462 } // namespace content |
| OLD | NEW |