| Index: content/shell/browser/layout_test/layout_test_content_browser_client.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
|
| index 3ecacd1d1af74463128bf84e353a371926949a7a..f3d06b624940c4af4ce8a3eece4c7b631b6c9f46 100644
|
| --- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
|
| @@ -128,6 +128,20 @@ BrowserMainParts* LayoutTestContentBrowserClient::CreateBrowserMainParts(
|
| return shell_browser_main_parts();
|
| }
|
|
|
| +void LayoutTestContentBrowserClient::GetTemporaryStorageConfiguration(
|
| + BrowserContext* context,
|
| + const base::FilePath& partition_path, bool is_incognito,
|
| + const storage::TemporaryStorageConfigurationCallback& callback) {
|
| + // Default quota for each origin is 5MB.
|
| + const int kDefaultLayoutTestQuotaBytes = 5 * 1024 * 1024;
|
| + storage::TemporaryStorageConfiguration config;
|
| + config.per_host_quota = kDefaultLayoutTestQuotaBytes;
|
| + config.pool_size = 5 * kDefaultLayoutTestQuotaBytes;
|
| + config.must_remain_available = kDefaultLayoutTestQuotaBytes;
|
| + config.refresh_interval = base::TimeDelta::Max();
|
| + callback.Run(config);
|
| +}
|
| +
|
| PlatformNotificationService*
|
| LayoutTestContentBrowserClient::GetPlatformNotificationService() {
|
| return layout_test_notification_manager_.get();
|
|
|