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

Unified Diff: public/platform/WebCredential.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
« no previous file with comments | « Source/platform/exported/WebLocalCredential.cpp ('k') | public/platform/WebCredentialManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCredential.h
diff --git a/public/platform/WebCredential.h b/public/platform/WebCredential.h
index 500131daa5136c306bf62ba23bf9bc729ad4a603..fcefa4c92c865cc3bed0300906be971bf1b74a3a 100644
--- a/public/platform/WebCredential.h
+++ b/public/platform/WebCredential.h
@@ -5,9 +5,10 @@
#ifndef WebCredential_h
#define WebCredential_h
-#include "WebCommon.h"
-#include "WebPrivatePtr.h"
-#include "WebString.h"
+#include "public/platform/WebCommon.h"
+#include "public/platform/WebPrivatePtr.h"
+#include "public/platform/WebString.h"
+#include "public/platform/WebURL.h"
namespace blink {
@@ -15,7 +16,7 @@ class PlatformCredential;
class WebCredential {
public:
- BLINK_PLATFORM_EXPORT WebCredential(const WebString& id, const WebString& name, const WebString& avatarURL);
+ BLINK_PLATFORM_EXPORT WebCredential(const WebString& id, const WebString& name, const WebURL& avatarURL);
~WebCredential() { reset(); }
BLINK_PLATFORM_EXPORT void assign(const WebCredential&);
@@ -23,7 +24,7 @@ public:
BLINK_PLATFORM_EXPORT WebString id() const;
BLINK_PLATFORM_EXPORT WebString name() const;
- BLINK_PLATFORM_EXPORT WebString avatarURL() const;
+ BLINK_PLATFORM_EXPORT WebURL avatarURL() const;
protected:
BLINK_PLATFORM_EXPORT explicit WebCredential(PlatformCredential*);
« no previous file with comments | « Source/platform/exported/WebLocalCredential.cpp ('k') | public/platform/WebCredentialManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698