| 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" | |
| 6 #include "modules/credentialmanager/FederatedCredential.h" | 5 #include "modules/credentialmanager/FederatedCredential.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "modules/credentialmanager/FederatedCredentialData.h" | 8 #include "modules/credentialmanager/FederatedCredentialData.h" |
| 10 #include "platform/credentialmanager/PlatformFederatedCredential.h" | 9 #include "platform/credentialmanager/PlatformFederatedCredential.h" |
| 11 #include "public/platform/WebFederatedCredential.h" | 10 #include "public/platform/WebFederatedCredential.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 FederatedCredential* FederatedCredential::create(WebFederatedCredential* webFede
ratedCredential) | 14 FederatedCredential* FederatedCredential::create(WebFederatedCredential* webFede
ratedCredential) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 35 : Credential(PlatformFederatedCredential::create(id, provider, name, icon)) | 34 : Credential(PlatformFederatedCredential::create(id, provider, name, icon)) |
| 36 { | 35 { |
| 37 } | 36 } |
| 38 | 37 |
| 39 const KURL& FederatedCredential::provider() const | 38 const KURL& FederatedCredential::provider() const |
| 40 { | 39 { |
| 41 return static_cast<PlatformFederatedCredential*>(m_platformCredential.get())
->provider(); | 40 return static_cast<PlatformFederatedCredential*>(m_platformCredential.get())
->provider(); |
| 42 } | 41 } |
| 43 | 42 |
| 44 } // namespace blink | 43 } // namespace blink |
| OLD | NEW |