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

Side by Side Diff: storage/browser/test/async_file_test_helper.cc

Issue 2368913003: Populate storage_unittests target. (Closed)
Patch Set: Removed unnecessary include from storage/browser/blob/blob_storage_context_unittest.cc. Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test/async_file_test_helper.h"
6
5 #include "base/bind.h" 7 #include "base/bind.h"
6 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
7 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
8 #include "base/run_loop.h" 10 #include "base/run_loop.h"
9 #include "content/public/test/async_file_test_helper.h"
10 #include "storage/browser/fileapi/file_system_backend.h" 11 #include "storage/browser/fileapi/file_system_backend.h"
11 #include "storage/browser/fileapi/file_system_context.h" 12 #include "storage/browser/fileapi/file_system_context.h"
12 #include "storage/browser/fileapi/file_system_operation_runner.h" 13 #include "storage/browser/fileapi/file_system_operation_runner.h"
13 #include "storage/browser/fileapi/file_system_url.h" 14 #include "storage/browser/fileapi/file_system_url.h"
14 #include "storage/browser/quota/quota_manager.h" 15 #include "storage/browser/quota/quota_manager.h"
15 #include "storage/common/fileapi/file_system_util.h" 16 #include "storage/common/fileapi/file_system_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace content { 19 namespace content {
19 20
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 storage::QuotaStatusCode status = storage::kQuotaStatusUnknown; 264 storage::QuotaStatusCode status = storage::kQuotaStatusUnknown;
264 quota_manager->GetUsageAndQuota( 265 quota_manager->GetUsageAndQuota(
265 origin, 266 origin,
266 FileSystemTypeToQuotaStorageType(type), 267 FileSystemTypeToQuotaStorageType(type),
267 base::Bind(&DidGetUsageAndQuota, &status, usage, quota)); 268 base::Bind(&DidGetUsageAndQuota, &status, usage, quota));
268 base::RunLoop().RunUntilIdle(); 269 base::RunLoop().RunUntilIdle();
269 return status; 270 return status;
270 } 271 }
271 272
272 } // namespace content 273 } // namespace content
OLDNEW
« no previous file with comments | « storage/browser/test/async_file_test_helper.h ('k') | storage/browser/test/mock_blob_url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698