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

Unified Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc

Issue 285233008: Add MacAddress to ONC and networkingPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Rebase Created 6 years, 7 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
Index: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
index 437b91b7ff1659af1870e12b411889e11e519341..1d1211633b1332b64377f4aef55c87e04e5d6818 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
@@ -1524,8 +1524,11 @@ void InternetOptionsHandler::PopulateDictionaryDetailsCallback(
// Device hardware address
const DeviceState* device = NetworkHandler::Get()->network_state_handler()->
GetDeviceState(network->device_path());
- if (device)
- dictionary.SetString(kTagHardwareAddress, device->GetFormattedMacAddress());
+ if (device) {
+ dictionary.SetString(
+ kTagHardwareAddress,
+ network_util::FormattedMacAddress(device->mac_address()));
+ }
// IP config
scoped_ptr<base::DictionaryValue> ipconfig_dhcp(new base::DictionaryValue);
« no previous file with comments | « no previous file | chromeos/dbus/fake_shill_manager_client.cc » ('j') | chromeos/network/onc/onc_translator_shill_to_onc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698