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

Side by Side Diff: public/platform/WebFederatedCredential.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « public/platform/WebCredentialManager.h ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebFederatedCredential_h 5 #ifndef WebFederatedCredential_h
6 #define WebFederatedCredential_h 6 #define WebFederatedCredential_h
7 7
8 #include "WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "WebCredential.h" 9 #include "public/platform/WebCredential.h"
10 #include "WebString.h" 10 #include "public/platform/WebString.h"
11 #include "public/platform/WebURL.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 class WebFederatedCredential : public WebCredential { 15 class WebFederatedCredential : public WebCredential {
15 public: 16 public:
16 BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebS tring& name, const WebString& avatarURL, const WebString& federation); 17 BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebS tring& name, const WebURL& avatarURL, const WebURL& federation);
17 18
18 BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&); 19 BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&);
19 20
20 BLINK_PLATFORM_EXPORT WebString federation() const; 21 BLINK_PLATFORM_EXPORT WebURL federation() const;
21 }; 22 };
22 23
23 } // namespace blink 24 } // namespace blink
24 25
25 #endif // WebFederatedCredential_h 26 #endif // WebFederatedCredential_h
26 27
27 28
OLDNEW
« no previous file with comments | « public/platform/WebCredentialManager.h ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698