| OLD | NEW |
| 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "public/platform/WebCredential.h" | 6 #include "public/platform/WebCredential.h" |
| 7 | 7 |
| 8 #include "platform/credentialmanager/PlatformCredential.h" | 8 #include "platform/credentialmanager/PlatformCredential.h" |
| 9 #include "public/platform/WebFederatedCredential.h" | 9 #include "public/platform/WebFederatedCredential.h" |
| 10 #include "public/platform/WebLocalCredential.h" | 10 #include "public/platform/WebLocalCredential.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 WebString WebCredential::name() const | 66 WebString WebCredential::name() const |
| 67 { | 67 { |
| 68 return m_platformCredential->name(); | 68 return m_platformCredential->name(); |
| 69 } | 69 } |
| 70 | 70 |
| 71 WebURL WebCredential::avatarURL() const | 71 WebURL WebCredential::avatarURL() const |
| 72 { | 72 { |
| 73 return m_platformCredential->avatarURL(); | 73 return m_platformCredential->avatarURL(); |
| 74 } | 74 } |
| 75 | 75 |
| 76 WebString WebCredential::type() const |
| 77 { |
| 78 return m_platformCredential->type(); |
| 79 } |
| 80 |
| 76 bool WebCredential::isLocalCredential() const | 81 bool WebCredential::isLocalCredential() const |
| 77 { | 82 { |
| 78 return m_platformCredential->isLocal(); | 83 return m_platformCredential->isLocal(); |
| 79 } | 84 } |
| 80 | 85 |
| 81 bool WebCredential::isFederatedCredential() const | 86 bool WebCredential::isFederatedCredential() const |
| 82 { | 87 { |
| 83 return m_platformCredential->isFederated(); | 88 return m_platformCredential->isFederated(); |
| 84 } | 89 } |
| 85 | 90 |
| 86 } // namespace blink | 91 } // namespace blink |
| OLD | NEW |