OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ |
6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
11 #include "net/base/network_change_notifier_factory.h" | 11 #include "net/base/network_change_notifier_factory.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 class NetworkChangeNotifierChromeos; | 15 class NetworkChangeNotifierChromeos; |
16 | 16 |
17 class CHROMEOS_EXPORT NetworkChangeNotifierFactoryChromeos | 17 class CHROMEOS_EXPORT NetworkChangeNotifierFactoryChromeos |
18 : public net::NetworkChangeNotifierFactory { | 18 : public net::NetworkChangeNotifierFactory { |
19 public: | 19 public: |
20 NetworkChangeNotifierFactoryChromeos() {} | 20 NetworkChangeNotifierFactoryChromeos() {} |
21 | 21 |
22 // net::NetworkChangeNotifierFactory overrides. | 22 // net::NetworkChangeNotifierFactory overrides. |
23 virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE; | 23 virtual net::NetworkChangeNotifier* CreateInstance() override; |
24 | 24 |
25 static NetworkChangeNotifierChromeos* GetInstance(); | 25 static NetworkChangeNotifierChromeos* GetInstance(); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace chromeos | 28 } // namespace chromeos |
29 | 29 |
30 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ | 30 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_ |
OLD | NEW |