OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/password_manager/content/renderer/test_credential_manager_d ispatcher.h" | |
6 | |
7 namespace password_manager { | |
8 | |
9 TestCredentialManagerDispatcher::TestCredentialManagerDispatcher() { | |
10 } | |
11 | |
12 TestCredentialManagerDispatcher::~TestCredentialManagerDispatcher() { | |
13 } | |
14 | |
15 int TestCredentialManagerDispatcher::GetRoutingID() { | |
16 // Chosen by fair dice roll. | |
Ilya Sherman
2014/08/19 23:55:54
:)
| |
17 return 4; | |
18 } | |
19 | |
20 void TestCredentialManagerDispatcher::ClearCallbackErrorMaps() { | |
21 failed_sign_in_callbacks_.Clear(); | |
22 signed_in_callbacks_.Clear(); | |
23 signed_out_callbacks_.Clear(); | |
24 request_callbacks_.Clear(); | |
Ilya Sherman
2014/08/19 23:55:54
Hmm, why do you need custom logic to clear the map
| |
25 } | |
26 | |
27 } // namespace password_manager | |
OLD | NEW |