Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3249)

Unified Diff: chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc

Issue 2969643002: Reland - Replace FakeServer's implementation with LoopbackServer invocations. (Closed)
Patch Set: Rebased on master. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc b/chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc
index 80e9b2c557931f9d1aabaa258b680ab05a13db71..00c8205a3d3b0f111afc62761de13a5d38036d1a 100644
--- a/chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc
@@ -19,8 +19,7 @@
#include "components/browser_sync/profile_sync_service.h"
#include "components/prefs/pref_service.h"
#include "components/sync/base/model_type.h"
-#include "components/sync/test/fake_server/fake_server_entity.h"
-#include "components/sync/test/fake_server/unique_client_entity.h"
+#include "components/sync/test/fake_server/fake_server.h"
#include "content/public/browser/notification_service.h"
using autofill_helper::GetPersonalDataManager;
@@ -52,9 +51,9 @@ void AddDefaultCard(fake_server::FakeServer* server) {
credit_card->set_status(sync_pb::WalletMaskedCreditCard::VALID);
credit_card->set_type(kDefaultCardType);
- server->InjectEntity(fake_server::UniqueClientEntity::CreateForInjection(
- kDefaultCardID,
- specifics));
+ server->InjectEntity(
+ syncer::PersistentUniqueClientEntity::CreateFromEntitySpecifics(
+ kDefaultCardID, specifics));
}
} // namespace
« no previous file with comments | « chrome/browser/sync/test/integration/single_client_user_events_sync_test.cc ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698