| 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/CredentialManagerClient.h" | 5 #include "modules/credentialmanager/CredentialManagerClient.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ScriptState.h" | 7 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 10 #include "core/dom/ExecutionContext.h" | 9 #include "core/dom/ExecutionContext.h" |
| 11 #include "core/page/Page.h" | 10 #include "core/page/Page.h" |
| 12 | 11 |
| 13 namespace blink { | 12 namespace blink { |
| 14 | 13 |
| 15 CredentialManagerClient::CredentialManagerClient(WebCredentialManagerClient* cli
ent) | 14 CredentialManagerClient::CredentialManagerClient(WebCredentialManagerClient* cli
ent) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 } | 72 } |
| 74 | 73 |
| 75 void CredentialManagerClient::dispatchGet(bool zeroClickOnly, const WebVector<We
bURL>& federations, WebCredentialManagerClient::RequestCallbacks* callbacks) | 74 void CredentialManagerClient::dispatchGet(bool zeroClickOnly, const WebVector<We
bURL>& federations, WebCredentialManagerClient::RequestCallbacks* callbacks) |
| 76 { | 75 { |
| 77 if (!m_client) | 76 if (!m_client) |
| 78 return; | 77 return; |
| 79 m_client->dispatchGet(zeroClickOnly, federations, callbacks); | 78 m_client->dispatchGet(zeroClickOnly, federations, callbacks); |
| 80 } | 79 } |
| 81 | 80 |
| 82 } // namespace blink | 81 } // namespace blink |
| OLD | NEW |