| 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_dir_url_request_job.h" | 5 #include "webkit/browser/fileapi/file_system_dir_url_request_job.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/file_util.h" | |
| 10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
| 11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
| 13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 16 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
| 17 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "content/public/test/mock_special_storage_policy.h" | 19 #include "content/public/test/mock_special_storage_policy.h" |
| 20 #include "content/public/test/test_file_system_backend.h" | 20 #include "content/public/test/test_file_system_backend.h" |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 ASSERT_FALSE(request_->status().is_success()); | 434 ASSERT_FALSE(request_->status().is_success()); |
| 435 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); | 435 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); |
| 436 | 436 |
| 437 ASSERT_FALSE( | 437 ASSERT_FALSE( |
| 438 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | 438 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( |
| 439 kValidExternalMountPoint)); | 439 kValidExternalMountPoint)); |
| 440 } | 440 } |
| 441 | 441 |
| 442 } // namespace (anonymous) | 442 } // namespace (anonymous) |
| 443 } // namespace content | 443 } // namespace content |
| OLD | NEW |