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

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

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

Powered by Google App Engine
This is Rietveld 408576698