OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/password_manager/sync/browser/sync_credentials_filter.h" | 5 #include "components/password_manager/sync/browser/sync_credentials_filter.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/test/histogram_tester.h" | 13 #include "base/test/histogram_tester.h" |
12 #include "base/test/user_action_tester.h" | 14 #include "base/test/user_action_tester.h" |
13 #include "components/autofill/core/common/password_form.h" | 15 #include "components/autofill/core/common/password_form.h" |
14 #include "components/password_manager/core/browser/stub_password_manager_client.
h" | 16 #include "components/password_manager/core/browser/stub_password_manager_client.
h" |
15 #include "components/password_manager/core/common/password_manager_switches.h" | 17 #include "components/password_manager/core/common/password_manager_switches.h" |
16 #include "components/password_manager/sync/browser/sync_username_test_base.h" | 18 #include "components/password_manager/sync/browser/sync_username_test_base.h" |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 257 |
256 FakeSigninAs("test1@gmail.com"); | 258 FakeSigninAs("test1@gmail.com"); |
257 | 259 |
258 results = filter()->FilterResults(results.Pass()); | 260 results = filter()->FilterResults(results.Pass()); |
259 | 261 |
260 ASSERT_EQ(1u, results.size()); | 262 ASSERT_EQ(1u, results.size()); |
261 EXPECT_EQ(SimpleGaiaForm("test2@gmail.com"), *results[0]); | 263 EXPECT_EQ(SimpleGaiaForm("test2@gmail.com"), *results[0]); |
262 } | 264 } |
263 | 265 |
264 } // namespace password_manager | 266 } // namespace password_manager |
OLD | NEW |