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

Unified Diff: components/wifi_sync/wifi_credential.cc

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
« no previous file with comments | « components/wifi_sync/wifi_credential.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi_sync/wifi_credential.cc
diff --git a/components/wifi_sync/wifi_credential.cc b/components/wifi_sync/wifi_credential.cc
index 73fbaf27f96b34281b4f6606c4f959bde6d58305..47ed28578408d3ae1dac53ba71db7e22c44abcdb 100644
--- a/components/wifi_sync/wifi_credential.cc
+++ b/components/wifi_sync/wifi_credential.cc
@@ -45,4 +45,10 @@ WifiCredential::CredentialSet WifiCredential::MakeSet() {
return CredentialSet(WifiCredential::IsLessThan);
}
+// static
+WifiCredential::SsidBytes WifiCredential::MakeSsidBytes(
+ const std::string& ssid) {
+ return SsidBytes(ssid.begin(), ssid.end());
+}
+
} // namespace wifi_sync
« no previous file with comments | « components/wifi_sync/wifi_credential.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698