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

Unified Diff: extensions/browser/extension_prefs_factory.h

Issue 1165913002: [Cleanup] Used scoped pointers in KeyedServiceFactory's SetTestingFactory functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finish renaming profile -> context Created 5 years, 6 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
Index: extensions/browser/extension_prefs_factory.h
diff --git a/extensions/browser/extension_prefs_factory.h b/extensions/browser/extension_prefs_factory.h
index a83b4f3dbe1febe92ffcfedca7c46663ebf5e2f9..9a6d921b8a005c28a98e4b481886ad6059be9eb4 100644
--- a/extensions/browser/extension_prefs_factory.h
+++ b/extensions/browser/extension_prefs_factory.h
@@ -19,8 +19,8 @@ class ExtensionPrefsFactory : public BrowserContextKeyedServiceFactory {
static ExtensionPrefsFactory* GetInstance();
- void SetInstanceForTesting(
- content::BrowserContext* context, ExtensionPrefs* prefs);
+ void SetInstanceForTesting(content::BrowserContext* context,
+ scoped_ptr<ExtensionPrefs> prefs);
private:
friend struct DefaultSingletonTraits<ExtensionPrefsFactory>;
« no previous file with comments | « extensions/browser/api/storage/storage_frontend_unittest.cc ('k') | extensions/browser/extension_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698