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

Unified Diff: net/base/network_change_notifier.cc

Issue 328793002: Add wifi AP info to system profile metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« net/base/network_change_notifier.h ('K') | « net/base/network_change_notifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier.cc
diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc
index aef83563ffc08fb44f03a696efb9232cab9e59bb..baca14b73ea3754c2270dc501e5943216da9af1d 100644
--- a/net/base/network_change_notifier.cc
+++ b/net/base/network_change_notifier.cc
@@ -387,6 +387,12 @@ class NetworkChangeNotifier::NetworkState {
DnsConfig dns_config_;
};
+NetworkChangeNotifier::WifiApInfo::WifiApInfo() {
+}
+
+NetworkChangeNotifier::WifiApInfo::~WifiApInfo() {
+}
+
NetworkChangeNotifier::NetworkChangeCalculatorParams::
NetworkChangeCalculatorParams() {
}
@@ -522,6 +528,13 @@ NetworkChangeNotifier::GetConnectionType() {
}
// static
+bool NetworkChangeNotifier::GetWifiApInfo(WifiApInfo &info) {
+ return g_network_change_notifier ?
+ g_network_change_notifier->GetCurrentWifiApInfo(info) :
+ false;
+}
+
+// static
void NetworkChangeNotifier::GetDnsConfig(DnsConfig* config) {
if (!g_network_change_notifier) {
*config = DnsConfig();
« net/base/network_change_notifier.h ('K') | « net/base/network_change_notifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698