Index: content/shell/browser/layout_test/layout_test_browser_main_parts.cc |
diff --git a/content/shell/browser/layout_test/layout_test_browser_main_parts.cc b/content/shell/browser/layout_test/layout_test_browser_main_parts.cc |
index 10642eeed88e2bebb46132fe93b3702531abab00..ee9934ad4795fb0e4285c30ec4201feb4a99ce54 100644 |
--- a/content/shell/browser/layout_test/layout_test_browser_main_parts.cc |
+++ b/content/shell/browser/layout_test/layout_test_browser_main_parts.cc |
@@ -26,7 +26,6 @@ |
#include "net/base/filename_util.h" |
#include "net/base/net_module.h" |
#include "net/grit/net_resources.h" |
-#include "storage/browser/quota/quota_manager.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "url/gurl.h" |
@@ -50,13 +49,6 @@ |
namespace content { |
-namespace { |
- |
-// Default quota for each origin is 5MB. |
-const int kDefaultLayoutTestQuotaBytes = 5 * 1024 * 1024; |
- |
-} // namespace |
- |
LayoutTestBrowserMainParts::LayoutTestBrowserMainParts( |
const MainFunctionParams& parameters) |
: ShellBrowserMainParts(parameters) { |
@@ -71,18 +63,6 @@ void LayoutTestBrowserMainParts::InitializeBrowserContexts() { |
} |
void LayoutTestBrowserMainParts::InitializeMessageLoopContext() { |
- storage::QuotaManager* quota_manager = |
- BrowserContext::GetDefaultStoragePartition(browser_context()) |
- ->GetQuotaManager(); |
- BrowserThread::PostTask( |
- BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(&storage::QuotaManager::SetTemporaryGlobalOverrideQuota, |
- quota_manager, |
- kDefaultLayoutTestQuotaBytes * |
- storage::QuotaManager::kPerHostTemporaryPortion, |
- storage::QuotaCallback())); |
- |
#if defined(ENABLE_PLUGINS) |
PluginService* plugin_service = PluginService::GetInstance(); |
plugin_service_filter_.reset(new ShellPluginServiceFilter); |