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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/files/file.h" | 16 #include "base/files/file.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/files/file_util.h" | 18 #include "base/files/file_util.h" |
19 #include "base/files/scoped_temp_dir.h" | 19 #include "base/files/scoped_temp_dir.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
22 #include "base/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "content/browser/fileapi/mock_file_change_observer.h" | 24 #include "content/browser/fileapi/mock_file_change_observer.h" |
25 #include "content/public/test/async_file_test_helper.h" | 25 #include "content/public/test/async_file_test_helper.h" |
26 #include "content/public/test/mock_special_storage_policy.h" | 26 #include "content/public/test/mock_special_storage_policy.h" |
27 #include "content/public/test/sandbox_file_system_test_helper.h" | 27 #include "content/public/test/sandbox_file_system_test_helper.h" |
28 #include "content/public/test/test_file_system_context.h" | 28 #include "content/public/test/test_file_system_context.h" |
29 #include "content/test/fileapi_test_file_set.h" | 29 #include "content/test/fileapi_test_file_set.h" |
30 #include "storage/browser/fileapi/external_mount_points.h" | 30 #include "storage/browser/fileapi/external_mount_points.h" |
31 #include "storage/browser/fileapi/file_system_backend.h" | 31 #include "storage/browser/fileapi/file_system_backend.h" |
32 #include "storage/browser/fileapi/file_system_context.h" | 32 #include "storage/browser/fileapi/file_system_context.h" |
(...skipping 2539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2572 ofu()->GetDirectoryForOriginAndType( | 2572 ofu()->GetDirectoryForOriginAndType( |
2573 origin2, GetTypeString(kFileSystemTypeTemporary), false, &error); | 2573 origin2, GetTypeString(kFileSystemTypeTemporary), false, &error); |
2574 ASSERT_EQ(base::File::FILE_OK, error); | 2574 ASSERT_EQ(base::File::FILE_OK, error); |
2575 error = base::File::FILE_ERROR_FAILED; | 2575 error = base::File::FILE_ERROR_FAILED; |
2576 ofu()->GetDirectoryForOriginAndType( | 2576 ofu()->GetDirectoryForOriginAndType( |
2577 origin2, GetTypeString(kFileSystemTypePersistent), false, &error); | 2577 origin2, GetTypeString(kFileSystemTypePersistent), false, &error); |
2578 ASSERT_EQ(base::File::FILE_OK, error); | 2578 ASSERT_EQ(base::File::FILE_OK, error); |
2579 } | 2579 } |
2580 | 2580 |
2581 } // namespace content | 2581 } // namespace content |
OLD | NEW |