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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/files/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "content/public/test/async_file_test_helper.h" | 12 #include "content/public/test/async_file_test_helper.h" |
13 #include "content/public/test/test_file_system_context.h" | 13 #include "content/public/test/test_file_system_context.h" |
14 #include "content/public/test/test_file_system_options.h" | 14 #include "content/public/test/test_file_system_options.h" |
| 15 #include "storage/browser/fileapi/file_system_context.h" |
| 16 #include "storage/browser/fileapi/isolated_context.h" |
| 17 #include "storage/browser/fileapi/obfuscated_file_util.h" |
| 18 #include "storage/browser/fileapi/plugin_private_file_system_backend.h" |
15 #include "storage/common/fileapi/file_system_util.h" | 19 #include "storage/common/fileapi/file_system_util.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "webkit/browser/fileapi/file_system_context.h" | |
18 #include "webkit/browser/fileapi/isolated_context.h" | |
19 #include "webkit/browser/fileapi/obfuscated_file_util.h" | |
20 #include "webkit/browser/fileapi/plugin_private_file_system_backend.h" | |
21 | 21 |
22 using content::AsyncFileTestHelper; | 22 using content::AsyncFileTestHelper; |
23 using storage::FileSystemContext; | 23 using storage::FileSystemContext; |
24 using storage::FileSystemURL; | 24 using storage::FileSystemURL; |
25 using storage::IsolatedContext; | 25 using storage::IsolatedContext; |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 kOrigin, filesystem_id2, kRootName)); | 155 kOrigin, filesystem_id2, kRootName)); |
156 FileSystemURL file2 = CreateURL(root_url2, "foo"); | 156 FileSystemURL file2 = CreateURL(root_url2, "foo"); |
157 EXPECT_FALSE(AsyncFileTestHelper::FileExists( | 157 EXPECT_FALSE(AsyncFileTestHelper::FileExists( |
158 context_.get(), file2, AsyncFileTestHelper::kDontCheckSize)); | 158 context_.get(), file2, AsyncFileTestHelper::kDontCheckSize)); |
159 } | 159 } |
160 | 160 |
161 // TODO(kinuko,nhiroki): also test if DeleteOriginDataOnFileThread | 161 // TODO(kinuko,nhiroki): also test if DeleteOriginDataOnFileThread |
162 // works fine when there's multiple plugin partitions. | 162 // works fine when there's multiple plugin partitions. |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
OLD | NEW |