OLD | NEW |
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_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 // True if we previously had an active network around. | 44 // True if we previously had an active network around. |
45 bool has_active_network_; | 45 bool has_active_network_; |
46 // Current active network's connection state. | 46 // Current active network's connection state. |
47 chromeos::ConnectionState connection_state_; | 47 chromeos::ConnectionState connection_state_; |
48 // Current active network's service path. | 48 // Current active network's service path. |
49 std::string service_path_; | 49 std::string service_path_; |
50 // Current active network's IP address. | 50 // Current active network's IP address. |
51 std::string ip_address_; | 51 std::string ip_address_; |
52 | 52 |
53 ScopedRunnableMethodFactory<NetworkChangeNotifierChromeos> method_factory_; | |
54 | |
55 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos); | 53 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos); |
56 }; | 54 }; |
57 | 55 |
58 } // namespace net | 56 } // namespace net |
59 | 57 |
60 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ | 58 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
OLD | NEW |