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

Unified Diff: content/browser/blob_storage/blob_storage_browsertest.cc

Issue 2552153002: [BlobStorage] Enabling disk paging and direct storage. (Closed)
Patch Set: added comments to WebContentsImplTest Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/blob_storage/blob_storage_browsertest.cc
diff --git a/content/browser/blob_storage/blob_storage_browsertest.cc b/content/browser/blob_storage/blob_storage_browsertest.cc
index 4b3150887aba10888bf71073638d8db41ea76e1d..2510bb3302143e72cc520a1388bb7d85ad7f83d9 100644
--- a/content/browser/blob_storage/blob_storage_browsertest.cc
+++ b/content/browser/blob_storage/blob_storage_browsertest.cc
@@ -34,7 +34,8 @@ class BlobStorageBrowserTest : public ContentBrowserTest {
limits_.max_ipc_memory_size = kTestBlobStorageIPCThresholdBytes;
limits_.max_shared_memory_size = kTestBlobStorageMaxSharedMemoryBytes;
limits_.max_blob_in_memory_space = kTestBlobStorageMaxBlobMemorySize;
- limits_.max_blob_disk_space = kTestBlobStorageMaxDiskSpace;
+ limits_.desired_max_disk_space = kTestBlobStorageMaxDiskSpace;
+ limits_.effective_max_disk_space = kTestBlobStorageMaxDiskSpace;
limits_.min_page_file_size = kTestBlobStorageMinFileSizeBytes;
limits_.max_file_size = kTestBlobStorageMaxFileSizeBytes;
}
@@ -88,7 +89,7 @@ IN_PROC_BROWSER_TEST_F(BlobStorageBrowserTest, BlobCombinations) {
static_cast<uint64_t>(memory_controller->memory_usage()));
EXPECT_GT(limits_.max_blob_in_memory_space,
memory_controller->memory_usage());
- EXPECT_GT(limits_.max_blob_disk_space, memory_controller->disk_usage());
+ EXPECT_GT(limits_.effective_max_disk_space, memory_controller->disk_usage());
shell()->Close();
// Make sure we run all file / io tasks.

Powered by Google App Engine
This is Rietveld 408576698