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

Unified Diff: components/wifi_sync/wifi_credential.h

Issue 836363002: wifi_sync: add WifiConfigDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.1-network-state-helper
Patch Set: Created 5 years, 11 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
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_;
« no previous file with comments | « components/wifi_sync/wifi_config_delegate_factory_chromeos.cc ('k') | components/wifi_sync/wifi_credential.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698