Index: content/browser/browsing_data/clear_site_data_throttle_browsertest.cc |
diff --git a/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc b/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc |
index f5e43643bc67802e5fd264bf70fd51cd243394c3..f8ae1b6db1f48516e81e28b98767c1fe76cdf109 100644 |
--- a/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc |
+++ b/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc |
@@ -21,6 +21,7 @@ |
#include "net/dns/mock_host_resolver.h" |
#include "net/test/embedded_test_server/http_request.h" |
#include "net/test/embedded_test_server/http_response.h" |
+#include "storage/browser/quota/quota_settings.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "url/origin.h" |
#include "url/url_constants.h" |
@@ -40,6 +41,13 @@ class MockContentBrowserClient : public ContentBrowserClient { |
bool remove_storage, |
bool remove_cache, |
const base::Closure& callback)); |
+ |
+ void GetQuotaSettings( |
+ content::BrowserContext* context, |
+ content::StoragePartition* partition, |
+ const storage::OptionalQuotaSettingsCallback& callback) override { |
+ callback.Run(storage::GetHardCodedSettings(100 * 1024 * 1024)); |
+ } |
}; |
class TestContentBrowserClient : public MockContentBrowserClient { |