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

Unified Diff: chrome/browser/plugin_prefs.h

Issue 9703038: Profiles: Really fix refcounted services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to save a file. >_< Created 8 years, 9 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/plugin_data_remover_helper.cc ('k') | chrome/browser/plugin_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_prefs.h
diff --git a/chrome/browser/plugin_prefs.h b/chrome/browser/plugin_prefs.h
index f37eac1012b15d3bcddf91fa4584bc405cc8db90..678aed2eb44b58609e6c4e043141059a52444945 100644
--- a/chrome/browser/plugin_prefs.h
+++ b/chrome/browser/plugin_prefs.h
@@ -44,12 +44,12 @@ class PluginPrefs : public RefcountedProfileKeyedService,
};
// Returns the instance associated with |profile|, creating it if necessary.
- static PluginPrefs* GetForProfile(Profile* profile);
+ static scoped_refptr<PluginPrefs> GetForProfile(Profile* profile);
// Usually the PluginPrefs associated with a TestingProfile is NULL.
// This method overrides that for a given TestingProfile, returning the newly
// created PluginPrefs object.
- static PluginPrefs* GetForTestingProfile(Profile* profile);
+ static scoped_refptr<PluginPrefs> GetForTestingProfile(Profile* profile);
// Sets the plug-in list for tests.
void SetPluginListForTesting(webkit::npapi::PluginList* plugin_list);
« no previous file with comments | « chrome/browser/plugin_data_remover_helper.cc ('k') | chrome/browser/plugin_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698