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

Unified Diff: ios/web/web_state/credential.cc

Issue 1723583004: CREDENTIAL: Convert federations from URLs to origins throughout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iOS2 Created 4 years, 10 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: ios/web/web_state/credential.cc
diff --git a/ios/web/web_state/credential.cc b/ios/web/web_state/credential.cc
index 31812742e89917bba7615dee9a42f7aac2a695c8..87d04ea44f48dd94fb83fbec07e7a9152b40126a 100644
--- a/ios/web/web_state/credential.cc
+++ b/ios/web/web_state/credential.cc
@@ -18,7 +18,8 @@ bool CredentialsEqual(const web::Credential& credential1,
credential1.name == credential2.name &&
credential1.avatar_url == credential2.avatar_url &&
credential1.password == credential2.password &&
- credential1.federation_url == credential2.federation_url;
+ credential1.federation_origin.Serialize() ==
+ credential2.federation_origin.Serialize();
}
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698