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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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/plugin_data_remover_impl.h ('k') | content/browser/plugin_process_host.h » ('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
===================================================================
--- content/browser/plugin_data_remover_impl.cc (revision 121250)
+++ content/browser/plugin_data_remover_impl.cc (working copy)
@@ -32,7 +32,7 @@
// static
PluginDataRemover* PluginDataRemover::Create(
- const content::ResourceContext& resource_context) {
+ content::ResourceContext* resource_context) {
return new PluginDataRemoverImpl(resource_context);
}
@@ -64,7 +64,7 @@
BrowserThread::DeleteOnIOThread> {
public:
Context(base::Time begin_time,
- const content::ResourceContext& resource_context)
+ content::ResourceContext* resource_context)
: event_(new base::WaitableEvent(true, false)),
begin_time_(begin_time),
is_removing_(false),
@@ -116,7 +116,7 @@
return false;
}
- virtual const content::ResourceContext& GetResourceContext() OVERRIDE {
+ virtual content::ResourceContext* GetResourceContext() OVERRIDE {
return resource_context_;
}
@@ -214,7 +214,7 @@
bool is_removing_;
// The resource context for the profile.
- const content::ResourceContext& resource_context_;
+ content::ResourceContext* resource_context_;
// The channel is NULL until we have opened a connection to the plug-in
// process.
@@ -223,7 +223,7 @@
PluginDataRemoverImpl::PluginDataRemoverImpl(
- const content::ResourceContext& resource_context)
+ content::ResourceContext* resource_context)
: mime_type_(kFlashMimeType),
resource_context_(resource_context) {
}
« no previous file with comments | « content/browser/plugin_data_remover_impl.h ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698