Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: content/browser/fileapi/file_system_operation_impl_unittest.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_operation_impl.h" 5 #include "storage/browser/fileapi/file_system_operation_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "content/browser/fileapi/mock_file_change_observer.h" 15 #include "content/browser/fileapi/mock_file_change_observer.h"
16 #include "content/browser/quota/mock_quota_manager.h" 16 #include "content/browser/quota/mock_quota_manager.h"
17 #include "content/browser/quota/mock_quota_manager_proxy.h" 17 #include "content/browser/quota/mock_quota_manager_proxy.h"
18 #include "content/public/test/async_file_test_helper.h" 18 #include "content/public/test/async_file_test_helper.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 "storage/browser/fileapi/file_system_context.h"
21 #include "storage/browser/fileapi/file_system_file_util.h"
22 #include "storage/browser/fileapi/file_system_operation_context.h"
23 #include "storage/browser/fileapi/file_system_operation_runner.h"
24 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
25 #include "storage/browser/quota/quota_manager.h"
26 #include "storage/browser/quota/quota_manager_proxy.h"
20 #include "storage/common/blob/shareable_file_reference.h" 27 #include "storage/common/blob/shareable_file_reference.h"
21 #include "storage/common/fileapi/file_system_util.h" 28 #include "storage/common/fileapi/file_system_util.h"
22 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
23 #include "url/gurl.h" 30 #include "url/gurl.h"
24 #include "webkit/browser/fileapi/file_system_context.h"
25 #include "webkit/browser/fileapi/file_system_file_util.h"
26 #include "webkit/browser/fileapi/file_system_operation_context.h"
27 #include "webkit/browser/fileapi/file_system_operation_runner.h"
28 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
29 #include "webkit/browser/quota/quota_manager.h"
30 #include "webkit/browser/quota/quota_manager_proxy.h"
31 31
32 using content::AsyncFileTestHelper; 32 using content::AsyncFileTestHelper;
33 using storage::FileSystemOperation; 33 using storage::FileSystemOperation;
34 using storage::FileSystemOperationContext; 34 using storage::FileSystemOperationContext;
35 using storage::FileSystemOperationRunner; 35 using storage::FileSystemOperationRunner;
36 using storage::FileSystemURL; 36 using storage::FileSystemURL;
37 using storage::QuotaManager; 37 using storage::QuotaManager;
38 using storage::QuotaManagerProxy; 38 using storage::QuotaManagerProxy;
39 using storage::ShareableFileReference; 39 using storage::ShareableFileReference;
40 40
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 base::Bind(&AssertFileErrorEqWithClosure, 1335 base::Bind(&AssertFileErrorEqWithClosure,
1336 FROM_HERE, 1336 FROM_HERE,
1337 base::File::FILE_OK, 1337 base::File::FILE_OK,
1338 run_loop.QuitClosure())); 1338 run_loop.QuitClosure()));
1339 run_loop.Run(); 1339 run_loop.Run();
1340 } 1340 }
1341 EXPECT_EQ(0, GetFileSize("dest")); 1341 EXPECT_EQ(0, GetFileSize("dest"));
1342 } 1342 }
1343 1343
1344 } // namespace content 1344 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698