Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebPasswordCredential.h
blobefea87bb76d4726530102e424f5aee4e75e29862
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.
5 #ifndef WebPasswordCredential_h
6 #define WebPasswordCredential_h
8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebCredential.h"
10 #include "public/platform/WebString.h"
11 #include "public/platform/WebURL.h"
13 namespace blink {
15 class WebPasswordCredential : public WebCredential {
16 public:
17 BLINK_PLATFORM_EXPORT WebPasswordCredential(const WebString& id, const WebString& password, const WebString& name, const WebURL& iconURL);
19 BLINK_PLATFORM_EXPORT void assign(const WebPasswordCredential&);
21 BLINK_PLATFORM_EXPORT WebString password() const;
23 #if INSIDE_BLINK
24 BLINK_PLATFORM_EXPORT WebPasswordCredential(PlatformCredential*);
25 BLINK_PLATFORM_EXPORT WebPasswordCredential& operator=(PlatformCredential*);
26 #endif
29 } // namespace blink
31 #endif // WebPasswordCredential_h