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

Unified Diff: chrome/browser/extensions/extension_cookies_api.cc

Issue 6961027: Change event routers from singletons to being owned by the ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asargent and dmazzoni's comments Created 9 years, 7 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/extension_cookies_api.cc
diff --git a/chrome/browser/extensions/extension_cookies_api.cc b/chrome/browser/extensions/extension_cookies_api.cc
index 83c535db7c6e5e2f117f585fd4e0037a51475194..bce7fbdb4400983b162fc38702ccb931980825a1 100644
--- a/chrome/browser/extensions/extension_cookies_api.cc
+++ b/chrome/browser/extensions/extension_cookies_api.cc
@@ -25,11 +25,6 @@
namespace keys = extension_cookies_api_constants;
-// static
-ExtensionCookiesEventRouter* ExtensionCookiesEventRouter::GetInstance() {
- return Singleton<ExtensionCookiesEventRouter>::get();
-}
-
void ExtensionCookiesEventRouter::Init() {
if (registrar_.IsEmpty()) {
registrar_.Add(this,

Powered by Google App Engine
This is Rietveld 408576698