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

Unified Diff: chrome/common/net/notifier/listener/mediator_thread_impl.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/common/net/notifier/listener/mediator_thread_impl.h
===================================================================
--- chrome/common/net/notifier/listener/mediator_thread_impl.h (revision 50775)
+++ chrome/common/net/notifier/listener/mediator_thread_impl.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.
//
@@ -40,13 +40,8 @@
class XmppClient;
} // namespace buzz
-namespace chrome_common_net {
-class NetworkChangeNotifierThread;
-} // namespace chrome_common_net
-
namespace net {
class HostResolver;
-class NetworkChangeNotifier;
} // namespace net
namespace notifier {
@@ -64,9 +59,7 @@
: public MediatorThread,
public sigslot::has_slots<> {
public:
- explicit MediatorThreadImpl(
- chrome_common_net::NetworkChangeNotifierThread*
- network_change_notifier_thread);
+ MediatorThreadImpl();
virtual ~MediatorThreadImpl();
virtual void SetDelegate(Delegate* delegate);
@@ -128,10 +121,7 @@
void OnSubscriptionStateChangeOnParentThread(
bool success);
- chrome_common_net::NetworkChangeNotifierThread*
- network_change_notifier_thread_;
base::Thread worker_thread_;
- scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
scoped_refptr<net::HostResolver> host_resolver_;
// All buzz::XmppClients are owned by their parent. The root parent is the

Powered by Google App Engine
This is Rietveld 408576698