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

Unified Diff: chromeos/network/network_device_handler.h

Issue 2040603002: Add support for MAC address randomization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix FakeNetworkDeviceHandler in unit tests Created 4 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
« no previous file with comments | « chromeos/network/mock_network_device_handler.h ('k') | chromeos/network/network_device_handler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_device_handler.h
diff --git a/chromeos/network/network_device_handler.h b/chromeos/network/network_device_handler.h
index 5f4e81c15b30c21bf04c8da3da3a76e569f9a372..89840741434fdb521f03dda8cd75f7970bf15cea 100644
--- a/chromeos/network/network_device_handler.h
+++ b/chromeos/network/network_device_handler.h
@@ -199,6 +199,10 @@ class CHROMEOS_EXPORT NetworkDeviceHandler {
// available in the future.
virtual void SetCellularAllowRoaming(bool allow_roaming) = 0;
+ // Sets up MAC address randomization if available. This applies to devices
+ // which become available in the future.
+ virtual void SetMACAddressRandomizationEnabled(bool enabled) = 0;
+
// Attempts to enable or disable TDLS for the specified IP or MAC address for
// the active wifi device.
virtual void SetWifiTDLSEnabled(
« no previous file with comments | « chromeos/network/mock_network_device_handler.h ('k') | chromeos/network/network_device_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698