Index: ash/system/network/network_observer.h |
diff --git a/ash/system/network/network_observer.h b/ash/system/network/network_observer.h |
index f55a71adc1ea5912a5b651a48a124f10474e0fc3..9711332e3a533946076866f82c39a3d4a3257e53 100644 |
--- a/ash/system/network/network_observer.h |
+++ b/ash/system/network/network_observer.h |
@@ -42,6 +42,11 @@ class NetworkObserver { |
const string16& link_text) = 0; |
// Clears the error notification for |error_type|. |
virtual void ClearNetworkError(ErrorType error_type) = 0; |
+ |
+ // Called when the user attempted to toggle Wi-Fi enable/disable. |
+ // NOTE: Toggling is asynchronous and subsequent calls to query the current |
+ // state may return the old value. |
+ virtual void OnWillToggleWifi() = 0; |
}; |
} // namespace ash |