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

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

Issue 464783003: Credential manager: Convert strings to URLs early. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/LocalCredential.h
diff --git a/Source/modules/credentialmanager/LocalCredential.h b/Source/modules/credentialmanager/LocalCredential.h
index 42cf5abbaa67e75bc686ad32c6bb9e27df174c6a..02b2423c2da21b8d3aaaf634c5a7e75689bbc2d1 100644
--- a/Source/modules/credentialmanager/LocalCredential.h
+++ b/Source/modules/credentialmanager/LocalCredential.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 LocalCredential FINAL : public Credential {
public:
- static LocalCredential* create(const String& id, const String& name, const String& avatarURL, const String& password);
+ static LocalCredential* create(const String& id, const String& name, const String& avatar, const String& password, ExceptionState&);
// LocalCredential.idl
const String& password() const;
private:
- LocalCredential(const String& id, const String& name, const String& avatarURL, const String& password);
+ LocalCredential(const String& id, const String& name, const KURL& avatarURL, const String& password);
philipj_slow 2014/08/12 09:42:40 When is the URL suffix included on the variable na
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698