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

Side by Side Diff: chrome/browser/chromeos/net/cros_network_change_notifier_factory.h

Issue 22264004: Remove ConnectivityStateHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove redundant IsConnected() check Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_CROS_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_CROS_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
7
8 #include "base/compiler_specific.h"
9 #include "net/base/network_change_notifier_factory.h"
10
11 namespace chromeos {
12
13 class NetworkChangeNotifierNetworkLibrary;
14
15 // CrosNetworkChangeNotifierFactory creates ChromeOS-specific specialization of
16 // NetworkChangeNotifier.
17 class CrosNetworkChangeNotifierFactory
18 : public net::NetworkChangeNotifierFactory {
19 public:
20 CrosNetworkChangeNotifierFactory() {}
21
22 // Overrides of net::NetworkChangeNotifierFactory.
23 virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
24
25 // Gets the instance of the NetworkChangeNotifier for Chrome OS.
26 // This is used for setting up the notifier at startup.
27 static NetworkChangeNotifierNetworkLibrary* GetInstance();
28 };
29
30 } // namespace net
31
32 #endif // CHROME_BROWSER_CHROMEOS_NET_CROS_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698