| 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 <set> | 5 #include <set> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/file_util.h" | |
| 11 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/files/file_util.h" |
| 13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 16 #include "content/browser/fileapi/mock_file_change_observer.h" | 16 #include "content/browser/fileapi/mock_file_change_observer.h" |
| 17 #include "content/public/test/async_file_test_helper.h" | 17 #include "content/public/test/async_file_test_helper.h" |
| 18 #include "content/public/test/mock_special_storage_policy.h" | 18 #include "content/public/test/mock_special_storage_policy.h" |
| 19 #include "content/public/test/sandbox_file_system_test_helper.h" | 19 #include "content/public/test/sandbox_file_system_test_helper.h" |
| 20 #include "content/public/test/test_file_system_context.h" | 20 #include "content/public/test/test_file_system_context.h" |
| 21 #include "content/test/fileapi_test_file_set.h" | 21 #include "content/test/fileapi_test_file_set.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2444 false /* exclusive */, | 2444 false /* exclusive */, |
| 2445 true /* recursive */)); | 2445 true /* recursive */)); |
| 2446 ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, | 2446 ASSERT_EQ(base::File::FILE_ERROR_NOT_A_DIRECTORY, |
| 2447 ofu()->CreateDirectory(UnlimitedContext().get(), | 2447 ofu()->CreateDirectory(UnlimitedContext().get(), |
| 2448 path_in_file_in_file, | 2448 path_in_file_in_file, |
| 2449 false /* exclusive */, | 2449 false /* exclusive */, |
| 2450 true /* recursive */)); | 2450 true /* recursive */)); |
| 2451 } | 2451 } |
| 2452 | 2452 |
| 2453 } // namespace content | 2453 } // namespace content |
| OLD | NEW |