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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 10891016: Remove all callers of Profile::GetResourceContext(). (Closed) Base URL: svn://svn.chromium.org/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 | « content/browser/download/save_package.cc ('k') | content/browser/plugin_service_impl_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_data_remover_impl.cc
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
index 7981453ed28d5d3f61efa8f4023cd72a93c72d19..ae55fd9ee1d77a8eff57539be75407c03de2d24a 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -17,6 +17,7 @@
#include "content/common/plugin_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/common/pepper_plugin_info.h"
#include "ppapi/proxy/ppapi_messages.h"
#include "webkit/plugins/npapi/plugin_group.h"
@@ -67,7 +68,9 @@ class PluginDataRemoverImpl::Context
begin_time_(begin_time),
is_removing_(false),
browser_context_path_(browser_context->GetPath()),
- resource_context_(browser_context->GetResourceContext()),
+ resource_context_(
+ content::BrowserContext::GetDefaultStoragePartition(browser_context)->
+ GetResourceContext()),
channel_(NULL) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
« no previous file with comments | « content/browser/download/save_package.cc ('k') | content/browser/plugin_service_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698