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

Unified Diff: Source/modules/credentialmanager/FederatedCredential.h

Issue 464783003: Credential manager: Convert strings to URLs early. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback. Created 6 years, 4 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: Source/modules/credentialmanager/FederatedCredential.h
diff --git a/Source/modules/credentialmanager/FederatedCredential.h b/Source/modules/credentialmanager/FederatedCredential.h
index bd16fbe8b7f1b59d213d6762552a9ebbcbd883d8..3f88d01ecf3b68ad2661e85caa497a18b5acbe88 100644
--- a/Source/modules/credentialmanager/FederatedCredential.h
+++ b/Source/modules/credentialmanager/FederatedCredential.h
@@ -9,18 +9,19 @@
#include "bindings/core/v8/SerializedScriptValue.h"
#include "modules/credentialmanager/Credential.h"
#include "platform/heap/Handle.h"
+#include "platform/weborigin/KURL.h"
namespace blink {
class FederatedCredential FINAL : public Credential {
public:
- static FederatedCredential* create(const String& id, const String& name, const String& avatarURL, const String& federation);
+ static FederatedCredential* create(const String& id, const String& name, const String& avatar, const String& federation, ExceptionState&);
// FederatedCredential.idl
- const String& federation() const;
+ const KURL& federation() const;
private:
- FederatedCredential(const String& id, const String& name, const String& avatarURL, const String& federation);
+ FederatedCredential(const String& id, const String& name, const KURL& avatar, const KURL& federation);
};
} // namespace blink
« no previous file with comments | « Source/modules/credentialmanager/CredentialsContainer.cpp ('k') | Source/modules/credentialmanager/FederatedCredential.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698