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

Unified Diff: chrome/browser/sync/engine/syncapi.h

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/engine/syncapi.h
===================================================================
--- chrome/browser/sync/engine/syncapi.h (revision 50775)
+++ chrome/browser/sync/engine/syncapi.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -60,10 +60,6 @@
}
}
-namespace chrome_common_net {
-class NetworkChangeNotifierThread;
-}
-
// Forward declarations of internal class types so that sync API objects
// may have opaque pointers to these types.
namespace syncable {
@@ -710,9 +706,6 @@
// the default is false.
// |gaia_service_id| is the service id used for GAIA authentication. If it's
// null then default will be used.
- // |network_change_notifier_thread| (which we don't own) is the
- // thread from which we get notifications regarding changes to the
- // network state.
// |post_factory| will be owned internally and used to create
// instances of an HttpPostProvider.
// |auth_post_factory| will be owned internally and used to create
@@ -745,8 +738,6 @@
const char* gaia_service_id,
const char* gaia_source,
bool use_ssl,
- chrome_common_net::NetworkChangeNotifierThread*
- network_change_notifier_thread,
HttpPostProviderFactory* post_factory,
HttpPostProviderFactory* auth_post_factory,
browser_sync::ModelSafeWorkerRegistrar* registrar,

Powered by Google App Engine
This is Rietveld 408576698