| 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/password_sync_util.h" | 5 #include "components/password_manager/sync/browser/password_sync_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/macros.h" | 9 #include "base/macros.h" |
| 8 #include "components/autofill/core/common/password_form.h" | 10 #include "components/autofill/core/common/password_form.h" |
| 9 #include "components/password_manager/sync/browser/sync_username_test_base.h" | 11 #include "components/password_manager/sync/browser/sync_username_test_base.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 13 |
| 12 using autofill::PasswordForm; | 14 using autofill::PasswordForm; |
| 13 | 15 |
| 14 namespace password_manager { | 16 namespace password_manager { |
| 15 namespace sync_util { | 17 namespace sync_util { |
| 16 | 18 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 SetSyncingPasswords(true); | 73 SetSyncingPasswords(true); |
| 72 FakeSigninAs(kTestCases[i].fake_sync_username); | 74 FakeSigninAs(kTestCases[i].fake_sync_username); |
| 73 EXPECT_EQ(kTestCases[i].expected_result, | 75 EXPECT_EQ(kTestCases[i].expected_result, |
| 74 IsSyncAccountCredential(kTestCases[i].form, sync_service(), | 76 IsSyncAccountCredential(kTestCases[i].form, sync_service(), |
| 75 signin_manager())); | 77 signin_manager())); |
| 76 } | 78 } |
| 77 } | 79 } |
| 78 | 80 |
| 79 } // namespace sync_util | 81 } // namespace sync_util |
| 80 } // namespace password_manager | 82 } // namespace password_manager |
| OLD | NEW |