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

Unified Diff: chrome/browser/extensions/menu_manager_factory.h

Issue 359493005: Extend contextMenus API to support browser/page actions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup, minor unittest refactor Created 6 years, 5 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 cdfdfa4601c7dc4e733d775a745feb5609111fc4..554c03313ec77a3c25ac6ebd401e43265a8afa00 100644
--- a/chrome/browser/extensions/menu_manager_factory.h
+++ b/chrome/browser/extensions/menu_manager_factory.h
@@ -24,6 +24,7 @@ class MenuManagerFactory : public BrowserContextKeyedServiceFactory {
private:
friend struct DefaultSingletonTraits<MenuManagerFactory>;
+ friend class ExtensionContextMenuModelTest;
Devlin 2014/07/30 21:32:58 Why do we still need this? What about Yoyo's idea
Yoyo Zhou 2014/07/30 21:49:33 This slightly reduces code duplication, so I think
Devlin 2014/07/30 21:54:15 Could we instead wrap the call to BuildServiceInst
gpdavis 2014/07/31 23:11:28 That seems reasonable to me. Done.
MenuManagerFactory();
virtual ~MenuManagerFactory();

Powered by Google App Engine
This is Rietveld 408576698