| 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_CHROMEOS_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
| 6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const std::string& technology); | 66 const std::string& technology); |
| 67 | 67 |
| 68 // Calculates parameters used for network change notifier online/offline | 68 // Calculates parameters used for network change notifier online/offline |
| 69 // signals. | 69 // signals. |
| 70 static net::NetworkChangeNotifier::NetworkChangeCalculatorParams | 70 static net::NetworkChangeNotifier::NetworkChangeCalculatorParams |
| 71 NetworkChangeCalculatorParamsChromeos(); | 71 NetworkChangeCalculatorParamsChromeos(); |
| 72 | 72 |
| 73 NetworkChangeNotifier::ConnectionType connection_type_; | 73 NetworkChangeNotifier::ConnectionType connection_type_; |
| 74 // IP address for the current default network. | 74 // IP address for the current default network. |
| 75 std::string ip_address_; | 75 std::string ip_address_; |
| 76 // DNS servers for the current default network. |
| 77 std::string dns_servers_; |
| 76 // Service path for the current default network. | 78 // Service path for the current default network. |
| 77 std::string service_path_; | 79 std::string service_path_; |
| 78 | 80 |
| 79 scoped_ptr<DnsConfigService> dns_config_service_; | 81 scoped_ptr<DnsConfigService> dns_config_service_; |
| 80 | 82 |
| 81 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos); | 83 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos); |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace chromeos | 86 } // namespace chromeos |
| 85 | 87 |
| 86 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ | 88 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ |
| OLD | NEW |