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

Unified Diff: components/arc/net/arc_net_host_impl.cc

Issue 1769083003: ARC: Add network GUID to the metadata that is sent to the Host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo in commit description. Created 4 years, 9 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
« no previous file with comments | « components/arc/common/net.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/net/arc_net_host_impl.cc
diff --git a/components/arc/net/arc_net_host_impl.cc b/components/arc/net/arc_net_host_impl.cc
index a9d28b80986a9b4a4833f88f83f56b6f8cfa8627..7582d0e5e31d9ca9070b8bac68bda2174d00d89c 100644
--- a/components/arc/net/arc_net_host_impl.cc
+++ b/components/arc/net/arc_net_host_impl.cc
@@ -105,6 +105,11 @@ void ArcNetHostImpl::GetNetworks(GetNetworksRequestType type,
DCHECK(!tmp.empty());
wc->ssid = tmp;
+ tmp.clear();
+ network_dict->GetString(onc::network_config::kGUID, &tmp);
+ DCHECK(!tmp.empty());
+ wc->guid = tmp;
+
base::DictionaryValue* wifi_dict = nullptr;
network_dict->GetDictionary(onc::network_config::kWiFi, &wifi_dict);
DCHECK(wifi_dict);
« no previous file with comments | « components/arc/common/net.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698