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

Side by Side Diff: content/browser/blob_storage/blob_storage_browsertest.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/run_loop.h" 5 #include "base/run_loop.h"
6 #include "base/threading/sequenced_worker_pool.h"
7 #include "content/browser/blob_storage/chrome_blob_storage_context.h" 6 #include "content/browser/blob_storage/chrome_blob_storage_context.h"
8 #include "content/public/browser/browser_context.h" 7 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
11 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
12 #include "content/public/test/content_browser_test.h" 11 #include "content/public/test/content_browser_test.h"
13 #include "content/public/test/content_browser_test_utils.h" 12 #include "content/public/test/content_browser_test_utils.h"
14 #include "content/shell/browser/shell.h" 13 #include "content/shell/browser/shell.h"
15 #include "storage/browser/blob/blob_memory_controller.h" 14 #include "storage/browser/blob/blob_memory_controller.h"
16 #include "storage/browser/blob/blob_storage_context.h" 15 #include "storage/browser/blob/blob_storage_context.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 EXPECT_GT(limits_.effective_max_disk_space, memory_controller->disk_usage()); 92 EXPECT_GT(limits_.effective_max_disk_space, memory_controller->disk_usage());
94 shell()->Close(); 93 shell()->Close();
95 94
96 // Make sure we run all file / io tasks. 95 // Make sure we run all file / io tasks.
97 base::RunLoop().RunUntilIdle(); 96 base::RunLoop().RunUntilIdle();
98 BrowserThread::GetBlockingPool()->FlushForTesting(); 97 BrowserThread::GetBlockingPool()->FlushForTesting();
99 base::RunLoop().RunUntilIdle(); 98 base::RunLoop().RunUntilIdle();
100 } 99 }
101 100
102 } // namespace content 101 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698