| Index: chromeos/network/shill_property_handler.h
|
| diff --git a/chromeos/network/shill_property_handler.h b/chromeos/network/shill_property_handler.h
|
| index 66678acab34c7e73e6119c8bf1ec00b6ed8e7d96..9c68c8f925f338f68811f41edd91855ed87ce5ee 100644
|
| --- a/chromeos/network/shill_property_handler.h
|
| +++ b/chromeos/network/shill_property_handler.h
|
| @@ -107,6 +107,9 @@ class CHROMEOS_EXPORT ShillPropertyHandler
|
| // Requests an immediate network scan.
|
| void RequestScan() const;
|
|
|
| + // Calls Manager.ConnectToBestServices().
|
| + void ConnectToBestServices() const;
|
| +
|
| // Requests all properties for the service or device (called for new items).
|
| void RequestProperties(ManagedState::ManagedType type,
|
| const std::string& path);
|
| @@ -116,6 +119,11 @@ class CHROMEOS_EXPORT ShillPropertyHandler
|
| return observed_networks_.count(service_path) != 0;
|
| }
|
|
|
| + // Returns a WeakPtr for passing to callbacks.
|
| + base::WeakPtr<ShillPropertyHandler> AsWeakPtr() {
|
| + return weak_ptr_factory_.GetWeakPtr();
|
| + }
|
| +
|
| // ShillPropertyChangedObserver overrides
|
| virtual void OnPropertyChanged(const std::string& key,
|
| const base::Value& value) OVERRIDE;
|
|
|