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

Side by Side Diff: storage/browser/blob/blob_memory_controller_unittest.cc

Issue 2774413002: Move some blob tests next to the files they cover. (Closed)
Patch Set: Created 3 years, 9 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 "storage/browser/blob/blob_memory_controller.h" 5 #include "storage/browser/blob/blob_memory_controller.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/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 1114
1115 RunFileThreadTasks(); 1115 RunFileThreadTasks();
1116 ExpectDiskSpaceCalled(); 1116 ExpectDiskSpaceCalled();
1117 base::RunLoop().RunUntilIdle(); 1117 base::RunLoop().RunUntilIdle();
1118 1118
1119 // Check the effective limit is constrained. 1119 // Check the effective limit is constrained.
1120 EXPECT_FALSE(controller.limits().IsDiskSpaceConstrained()); 1120 EXPECT_FALSE(controller.limits().IsDiskSpaceConstrained());
1121 } 1121 }
1122 1122
1123 } // namespace storage 1123 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/blob/blob_flattener_unittest.cc ('k') | storage/browser/blob/blob_slice_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698