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

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

Issue 2938553003: Revert of [sync] Replace FakeServer's implementation with LoopbackServer invocations. (Closed)
Patch Set: Created 3 years, 6 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 00c8205a3d3b0f111afc62761de13a5d38036d1a..80e9b2c557931f9d1aabaa258b680ab05a13db71 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,7 +19,8 @@
#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.h"
+#include "components/sync/test/fake_server/fake_server_entity.h"
+#include "components/sync/test/fake_server/unique_client_entity.h"
#include "content/public/browser/notification_service.h"
using autofill_helper::GetPersonalDataManager;
@@ -51,9 +52,9 @@
credit_card->set_status(sync_pb::WalletMaskedCreditCard::VALID);
credit_card->set_type(kDefaultCardType);
- server->InjectEntity(
- syncer::PersistentUniqueClientEntity::CreateFromEntitySpecifics(
- kDefaultCardID, specifics));
+ server->InjectEntity(fake_server::UniqueClientEntity::CreateForInjection(
+ kDefaultCardID,
+ specifics));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698