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

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

Issue 11496004: Lazy initialization for PushMessagingEventRouter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added InitializeEventRouter Created 8 years 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_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 56bd1ac91676e2eb24cf74d73364a7b19ece156f..55d28de07fc887b3d32e7e78f1162035ef925512 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -73,7 +73,6 @@ class ExtensionUpdater;
class MediaGalleriesPrivateEventRouter;
class PendingExtensionManager;
class PreferenceEventRouter;
-class PushMessagingEventRouter;
class SettingsFrontend;
class WindowEventRouter;
}
@@ -293,13 +292,6 @@ class ExtensionService
// Start up the extension event routers.
void InitEventRouters();
- // Called when the ProfileSyncService for the associated Profile is
- // going to be destroyed. This is guaranteed to be called exactly
- // once before Shutdown() is called.
- //
- // TODO(akalin): Remove this once http://crbug.com/153827 is fixed.
- void OnProfileSyncServiceShutdown();
-
// Called when the associated Profile is going to be destroyed.
void Shutdown();
@@ -582,10 +574,6 @@ class ExtensionService
}
#endif
- extensions::PushMessagingEventRouter* push_messaging_event_router() {
- return push_messaging_event_router_.get();
- }
-
// Notify the frontend that there was an error loading an extension.
// This method is public because UnpackedInstaller and InstalledLoader
// can post to here.
@@ -994,9 +982,6 @@ class ExtensionService
scoped_ptr<extensions::MediaGalleriesPrivateEventRouter>
media_galleries_private_event_router_;
- scoped_ptr<extensions::PushMessagingEventRouter>
- push_messaging_event_router_;
-
#if defined(OS_CHROMEOS)
scoped_ptr<chromeos::ExtensionInputMethodEventRouter>
input_method_event_router_;

Powered by Google App Engine
This is Rietveld 408576698