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 "storage/browser/fileapi/file_system_url_request_job.h" | 5 #include "storage/browser/fileapi/file_system_url_request_job.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
12 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
13 #include "base/format_macros.h" | 15 #include "base/format_macros.h" |
14 #include "base/location.h" | 16 #include "base/location.h" |
| 17 #include "base/macros.h" |
15 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
16 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
17 #include "base/rand_util.h" | 20 #include "base/rand_util.h" |
18 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
19 #include "base/strings/string_piece.h" | 22 #include "base/strings/string_piece.h" |
20 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
21 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
22 #include "base/thread_task_runner_handle.h" | 25 #include "base/thread_task_runner_handle.h" |
23 #include "content/public/test/async_file_test_helper.h" | 26 #include "content/public/test/async_file_test_helper.h" |
24 #include "content/public/test/test_file_system_backend.h" | 27 #include "content/public/test/test_file_system_backend.h" |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 EXPECT_TRUE(delegate_->request_failed()); | 476 EXPECT_TRUE(delegate_->request_failed()); |
474 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); | 477 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, request_->status().error()); |
475 | 478 |
476 ASSERT_FALSE( | 479 ASSERT_FALSE( |
477 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | 480 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( |
478 kValidExternalMountPoint)); | 481 kValidExternalMountPoint)); |
479 } | 482 } |
480 | 483 |
481 } // namespace | 484 } // namespace |
482 } // namespace content | 485 } // namespace content |
OLD | NEW |