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

Unified Diff: chrome/browser/extensions/menu_manager_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: Rebase 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: chrome/browser/extensions/menu_manager_factory.h
diff --git a/chrome/browser/extensions/menu_manager_factory.h b/chrome/browser/extensions/menu_manager_factory.h
index ae1693e59d80ffc47289ff9d25022b6f7d5a3996..5e71738d0ea75d9d5dd52a1f945949be50cc2dc7 100644
--- a/chrome/browser/extensions/menu_manager_factory.h
+++ b/chrome/browser/extensions/menu_manager_factory.h
@@ -22,7 +22,7 @@ class MenuManagerFactory : public BrowserContextKeyedServiceFactory {
static MenuManagerFactory* GetInstance();
- static KeyedService* BuildServiceInstanceForTesting(
+ static scoped_ptr<KeyedService> BuildServiceInstanceForTesting(
content::BrowserContext* context);
private:

Powered by Google App Engine
This is Rietveld 408576698