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

Unified Diff: components/password_manager/core/browser/password_manager_test_utils.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: components/password_manager/core/browser/password_manager_test_utils.cc
diff --git a/components/password_manager/core/browser/password_manager_test_utils.cc b/components/password_manager/core/browser/password_manager_test_utils.cc
index 170be56505156412d43fec90ad7b9cc53c2cdcb0..edfe3900363386e2eb6f90f413c011bf206e4f15 100644
--- a/components/password_manager/core/browser/password_manager_test_utils.cc
+++ b/components/password_manager/core/browser/password_manager_test_utils.cc
@@ -48,7 +48,7 @@ scoped_ptr<PasswordForm> CreatePasswordFormFromDataForTesting(
form->skip_zero_click = true;
if (form_data.password_value) {
if (wcscmp(form_data.password_value, kTestingFederatedLoginMarker) == 0)
- form->federation_url = GURL(kTestingFederationUrlSpec);
+ form->federation_origin = url::Origin(GURL(kTestingFederationUrlSpec));
else
form->password_value = base::WideToUTF16(form_data.password_value);
}

Powered by Google App Engine
This is Rietveld 408576698