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

Side by Side Diff: public/platform/WebFederatedCredential.h

Issue 661973002: Credential Manager: JavaScript arguments make more sense in a different order. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/platform/exported/WebLocalCredential.cpp ('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 "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebCredential.h" 9 #include "public/platform/WebCredential.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
11 #include "public/platform/WebURL.h" 11 #include "public/platform/WebURL.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class PlatformFederatedCredential; 15 class PlatformFederatedCredential;
16 16
17 class WebFederatedCredential : public WebCredential { 17 class WebFederatedCredential : public WebCredential {
18 public: 18 public:
19 BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebU RL& federation, const WebString& name, const WebURL& avatarURL);
20
21 // FIXME: Throw this away once it's unused on the chromium side.
19 BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebS tring& name, const WebURL& avatarURL, const WebURL& federation); 22 BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebS tring& name, const WebURL& avatarURL, const WebURL& federation);
20 23
21 BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&); 24 BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&);
22 25
23 BLINK_PLATFORM_EXPORT WebURL federation() const; 26 BLINK_PLATFORM_EXPORT WebURL federation() const;
24 27
25 #if INSIDE_BLINK 28 #if INSIDE_BLINK
26 BLINK_PLATFORM_EXPORT WebFederatedCredential(PlatformCredential*); 29 BLINK_PLATFORM_EXPORT WebFederatedCredential(PlatformCredential*);
27 BLINK_PLATFORM_EXPORT WebFederatedCredential& operator=(PlatformCredential*) ; 30 BLINK_PLATFORM_EXPORT WebFederatedCredential& operator=(PlatformCredential*) ;
28 #endif 31 #endif
29 }; 32 };
30 33
31 } // namespace blink 34 } // namespace blink
32 35
33 #endif // WebFederatedCredential_h 36 #endif // WebFederatedCredential_h
34 37
35 38
OLDNEW
« no previous file with comments | « Source/platform/exported/WebLocalCredential.cpp ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698