Index: ash/system/chromeos/network/network_connect.h |
diff --git a/ash/system/chromeos/network/network_connect.h b/ash/system/chromeos/network/network_connect.h |
index 7868d2318379a3b2813ca5e17a1545826c98fe08..0c504be432ff3f622a2e08d4c7106a3e359157d4 100644 |
--- a/ash/system/chromeos/network/network_connect.h |
+++ b/ash/system/chromeos/network/network_connect.h |
@@ -15,6 +15,10 @@ namespace base { |
class DictionaryValue; |
} |
+namespace chromeos { |
+class NetworkTypePattern; |
+} |
+ |
namespace ash { |
namespace network_connect { |
@@ -32,8 +36,9 @@ ASH_EXPORT void ConnectToNetwork(const std::string& service_path, |
// Enables or disables a network technology. If |technology| refers to cellular |
// and the device cannot be enabled due to a SIM lock, this function will |
// launch the SIM unlock dialog. |
-ASH_EXPORT void SetTechnologyEnabled(const std::string& technology, |
- bool enabled_state); |
+ASH_EXPORT void SetTechnologyEnabled( |
+ const chromeos::NetworkTypePattern& technology, |
+ bool enabled_state); |
// Requests network activation and handles any errors and notifications. |
ASH_EXPORT void ActivateCellular(const std::string& service_path); |