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

Unified Diff: chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc

Issue 10834264: Add BrowserContext::GetQuotaManagerForRenderProcess for the isolated app feature. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc
===================================================================
--- chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc (revision 152606)
+++ chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc (working copy)
@@ -12,16 +12,19 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/url_constants.h"
#include "chrome/browser/browsing_data/browsing_data_helper.h"
+#include "content/public/browser/browser_context.h"
+#include "content/public/browser/storage_partition.h"
#include "webkit/quota/quota_manager.h"
using content::BrowserThread;
+using content::BrowserContext;
// static
BrowsingDataQuotaHelper* BrowsingDataQuotaHelper::Create(Profile* profile) {
return new BrowsingDataQuotaHelperImpl(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
- content::BrowserContext::GetQuotaManager(profile));
+ BrowserContext::GetDefaultStoragePartition(profile)->GetQuotaManager());
}
void BrowsingDataQuotaHelperImpl::StartFetching(
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698