| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebPasswordCredential_h |
| 6 #define WebPasswordCredential_h |
| 7 |
| 8 #include "public/platform/WebCommon.h" |
| 9 #include "public/platform/WebCredential.h" |
| 10 #include "public/platform/WebString.h" |
| 11 #include "public/platform/WebURL.h" |
| 12 |
| 13 namespace blink { |
| 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 { |
| 17 public: |
| 18 BLINK_PLATFORM_EXPORT WebPasswordCredential(const WebString& id, const WebSt
ring& password, const WebString& name, const WebURL& avatarURL); |
| 19 |
| 20 BLINK_PLATFORM_EXPORT void assign(const WebPasswordCredential&); |
| 21 |
| 22 BLINK_PLATFORM_EXPORT WebString password() const; |
| 23 |
| 24 #if INSIDE_BLINK |
| 25 BLINK_PLATFORM_EXPORT WebPasswordCredential(PlatformCredential*); |
| 26 BLINK_PLATFORM_EXPORT WebPasswordCredential& operator=(PlatformCredential*); |
| 27 #endif |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // WebPasswordCredential_h |
| 33 |
| 34 |
| 35 |
| OLD | NEW |