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

Unified Diff: components/password_manager/core/common/credential_manager_types.h

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/common/credential_manager_types.h
diff --git a/components/password_manager/core/common/credential_manager_types.h b/components/password_manager/core/common/credential_manager_types.h
index 7f7b17059b331c4071abb25cb2810c07f610a737..cd712f7550c49aa877de5523342e252c68cf3560 100644
--- a/components/password_manager/core/common/credential_manager_types.h
+++ b/components/password_manager/core/common/credential_manager_types.h
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "base/strings/string16.h"
#include "url/gurl.h"
+#include "url/origin.h"
namespace autofill {
struct PasswordForm;
@@ -54,9 +55,8 @@ struct CredentialInfo {
// Corresponds to WebPasswordCredential's password property.
base::string16 password;
- // Corresponds to WebFederatedCredential's federation property, which is an
- // origin serialized as a URL (e.g. "https://example.com/").
- GURL federation;
+ // Corresponds to WebFederatedCredential's provider property.
+ url::Origin federation;
};
// Create a new autofill::PasswordForm object based on |info|, valid in the

Powered by Google App Engine
This is Rietveld 408576698