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

Side by Side Diff: chromeos/network/network_change_notifier_chromeos.h

Issue 12634019: NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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
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
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::vector<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_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_service_client_stub.cc ('k') | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698