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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/test/base/in_process_browser_test.h ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.cc
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index 48ac9eea49dcac6b0d548e7f6e1106444e5392ea..2f8ecb41cceec6221111e41daa8e8f111fcc8311 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -22,7 +22,6 @@
#include "build/build_config.h"
#include "chrome/browser/after_startup_task_utils.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chrome_content_browser_client.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/devtools/devtools_window.h"
#include "chrome/browser/lifetime/application_lifetime.h"
@@ -249,12 +248,6 @@ void InProcessBrowserTest::SetUp() {
google_util::SetMockLinkDoctorBaseURLForTesting();
- // Use hardcoded quota settings to have a consistent testing environment.
- const int kQuota = 5 * 1024 * 1024;
- quota_settings_ = storage::QuotaSettings(kQuota * 5, kQuota, 0);
- ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
- &quota_settings_);
-
BrowserTestBase::SetUp();
}
@@ -364,7 +357,6 @@ void InProcessBrowserTest::TearDown() {
#endif
BrowserTestBase::TearDown();
OSCryptMocker::TearDown();
- ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(nullptr);
}
void InProcessBrowserTest::CloseBrowserSynchronously(Browser* browser) {
« no previous file with comments | « chrome/test/base/in_process_browser_test.h ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698