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

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

Issue 1153403004: Credential Management: Rename 'LocalCredential' to 'PasswordCredential' (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-password
Patch Set: Oops. Created 5 years, 6 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 | « public/platform/WebLocalCredential.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 WebPasswordCredential_h 5 #ifndef WebPasswordCredential_h
6 #define WebPasswordCredential_h 6 #define WebPasswordCredential_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 // TODO(mkwst): Throw this away once it's unused on the Chromium side: https://c rbug.com/494880
16 class WebPasswordCredential : public WebCredential { 15 class WebPasswordCredential : public WebCredential {
17 public: 16 public:
18 BLINK_PLATFORM_EXPORT WebPasswordCredential(const WebString& id, const WebSt ring& password, const WebString& name, const WebURL& avatarURL); 17 BLINK_PLATFORM_EXPORT WebPasswordCredential(const WebString& id, const WebSt ring& password, const WebString& name, const WebURL& avatarURL);
19 18
20 BLINK_PLATFORM_EXPORT void assign(const WebPasswordCredential&); 19 BLINK_PLATFORM_EXPORT void assign(const WebPasswordCredential&);
21 20
22 BLINK_PLATFORM_EXPORT WebString password() const; 21 BLINK_PLATFORM_EXPORT WebString password() const;
23 22
24 #if INSIDE_BLINK 23 #if INSIDE_BLINK
25 BLINK_PLATFORM_EXPORT WebPasswordCredential(PlatformCredential*); 24 BLINK_PLATFORM_EXPORT WebPasswordCredential(PlatformCredential*);
26 BLINK_PLATFORM_EXPORT WebPasswordCredential& operator=(PlatformCredential*); 25 BLINK_PLATFORM_EXPORT WebPasswordCredential& operator=(PlatformCredential*);
27 #endif 26 #endif
28 }; 27 };
29 28
30 } // namespace blink 29 } // namespace blink
31 30
32 #endif // WebPasswordCredential_h 31 #endif // WebPasswordCredential_h
33 32
34 33
35 34
OLDNEW
« no previous file with comments | « public/platform/WebLocalCredential.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698