| 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 "content/shell/renderer/test_runner/mock_credential_manager_client.h" | 5 #include "components/test_runner/mock_credential_manager_client.h" |
| 6 | 6 |
| 7 #include "third_party/WebKit/public/platform/WebCredential.h" | 7 #include "third_party/WebKit/public/platform/WebCredential.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 MockCredentialManagerClient::MockCredentialManagerClient() { | 11 MockCredentialManagerClient::MockCredentialManagerClient() { |
| 12 } | 12 } |
| 13 | 13 |
| 14 MockCredentialManagerClient::~MockCredentialManagerClient() { | 14 MockCredentialManagerClient::~MockCredentialManagerClient() { |
| 15 } | 15 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 void MockCredentialManagerClient::dispatchRequest( | 42 void MockCredentialManagerClient::dispatchRequest( |
| 43 bool zeroClickOnly, | 43 bool zeroClickOnly, |
| 44 const blink::WebVector<blink::WebURL>& federations, | 44 const blink::WebVector<blink::WebURL>& federations, |
| 45 RequestCallbacks* callbacks) { | 45 RequestCallbacks* callbacks) { |
| 46 callbacks->onSuccess(credential_.get()); | 46 callbacks->onSuccess(credential_.get()); |
| 47 delete callbacks; | 47 delete callbacks; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace content | 50 } // namespace content |
| OLD | NEW |