| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/utf_string_conversions.h" | 5 #include "base/utf_string_conversions.h" |
| 6 #include "chrome/browser/sync/profile_sync_service_harness.h" | 6 #include "chrome/browser/sync/profile_sync_service_harness.h" |
| 7 #include "chrome/browser/sync/test/integration/autofill_helper.h" | 7 #include "chrome/browser/sync/test/integration/autofill_helper.h" |
| 8 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" | 8 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" |
| 9 #include "chrome/browser/sync/test/integration/sync_test.h" | 9 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 10 #include "components/autofill/browser/autofill_profile.h" | 10 #include "components/autofill/browser/autofill_profile.h" |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 std::vector<CreditCard> credit_cards; | 470 std::vector<CreditCard> credit_cards; |
| 471 credit_cards.push_back(card); | 471 credit_cards.push_back(card); |
| 472 SetCreditCards(0, &credit_cards); | 472 SetCreditCards(0, &credit_cards); |
| 473 | 473 |
| 474 MakeABookmarkChange(0); | 474 MakeABookmarkChange(0); |
| 475 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1))); | 475 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1))); |
| 476 ASSERT_TRUE(ProfilesMatch(0, 1)); | 476 ASSERT_TRUE(ProfilesMatch(0, 1)); |
| 477 ASSERT_EQ(1U, GetAllProfiles(0).size()); | 477 ASSERT_EQ(1U, GetAllProfiles(0).size()); |
| 478 | 478 |
| 479 PersonalDataManager* pdm = GetPersonalDataManager(1); | 479 PersonalDataManager* pdm = GetPersonalDataManager(1); |
| 480 ASSERT_EQ(0U, pdm->credit_cards().size()); | 480 ASSERT_EQ(0U, pdm->GetCreditCards().size()); |
| 481 } | 481 } |
| OLD | NEW |