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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 11496004: Lazy initialization for PushMessagingEventRouter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit fixed 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
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 230d69207c8bb33ca997077ce8ee51c08667dbb6..8444f3a4719a247527de446eb7ba224f95c0ab8e 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -25,8 +25,6 @@
#include "chrome/browser/about_flags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/defaults.h"
-#include "chrome/browser/extensions/extension_service.h"
-#include "chrome/browser/extensions/extension_system.h"
#include "chrome/browser/net/chrome_cookie_notification_details.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
@@ -530,14 +528,6 @@ void ProfileSyncService::EmitInvalidationForTest(
void ProfileSyncService::Shutdown() {
DCHECK(invalidator_registrar_.get());
- // TODO(akalin): Remove this once http://crbug.com/153827 is fixed.
- ExtensionService* const extension_service =
- extensions::ExtensionSystem::Get(profile_)->extension_service();
- // |extension_service| may be NULL if it was never initialized
- // (e.g., extension sync wasn't enabled in tests).
- if (extension_service)
- extension_service->OnProfileSyncServiceShutdown();
-
// Reset |invalidator_registrar_| first so that ShutdownImpl cannot
// use it.
invalidator_registrar_.reset();
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698