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

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

Issue 2802015: Massively simplify the NetworkChangeNotifier infrastructure:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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/sync/profile_sync_factory_impl.cc
===================================================================
--- chrome/browser/sync/profile_sync_factory_impl.cc (revision 50775)
+++ chrome/browser/sync/profile_sync_factory_impl.cc (working copy)
@@ -61,23 +61,15 @@
using browser_sync::TypedUrlModelAssociator;
using browser_sync::UnrecoverableErrorHandler;
-ProfileSyncFactoryImpl::ProfileSyncFactoryImpl(
- Profile* profile,
- chrome_common_net::NetworkChangeNotifierThread*
- network_change_notifier_thread,
- CommandLine* command_line)
+ProfileSyncFactoryImpl::ProfileSyncFactoryImpl(Profile* profile,
+ CommandLine* command_line)
: profile_(profile),
- network_change_notifier_thread_(network_change_notifier_thread),
command_line_(command_line) {
- DCHECK(network_change_notifier_thread_);
}
ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() {
- ProfileSyncService* pss =
- new ProfileSyncService(this,
- profile_,
- network_change_notifier_thread_,
- browser_defaults::kBootstrapSyncAuthentication);
+ ProfileSyncService* pss = new ProfileSyncService(
+ this, profile_, browser_defaults::kBootstrapSyncAuthentication);
// Autofill sync is enabled by default. Register unless explicitly
// disabled.

Powered by Google App Engine
This is Rietveld 408576698