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

Unified Diff: chrome/browser/ui/webui/quota_internals_handler.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 | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/quota_internals_handler.cc
===================================================================
--- chrome/browser/ui/webui/quota_internals_handler.cc (revision 152606)
+++ chrome/browser/ui/webui/quota_internals_handler.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/quota_internals_proxy.h"
#include "chrome/browser/ui/webui/quota_internals_types.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/browser/web_ui.h"
#include "net/base/net_util.h"
@@ -87,7 +88,8 @@
if (!proxy_)
proxy_ = new QuotaInternalsProxy(this);
proxy_->RequestInfo(
- content::BrowserContext::GetQuotaManager(Profile::FromWebUI(web_ui())));
+ BrowserContext::GetDefaultStoragePartition(
+ Profile::FromWebUI(web_ui()))->GetQuotaManager());
}
} // namespace quota_internals
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698