| Index: components/wifi_sync/wifi_credential.h
|
| diff --git a/components/wifi_sync/wifi_credential.h b/components/wifi_sync/wifi_credential.h
|
| index 7c0342a6c7e142049e9d78854b1cf98d69cd26a9..a7e89298dfbd1431e041f89763bdd1ccbfe1fb36 100644
|
| --- a/components/wifi_sync/wifi_credential.h
|
| +++ b/components/wifi_sync/wifi_credential.h
|
| @@ -47,6 +47,11 @@ class WifiCredential final { // final because the class is copyable
|
| // ordering function plumbed in.
|
| static CredentialSet MakeSet();
|
|
|
| + // Returns |ssid| as an SsidBytes instance. This convenience
|
| + // function simplifies some tests, which need to instantiate
|
| + // SsidBytes from string literals.
|
| + static SsidBytes MakeSsidBytes(const std::string& ssid);
|
| +
|
| private:
|
| // The WiFi network's SSID.
|
| const SsidBytes ssid_;
|
|
|