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

Unified Diff: chrome/browser/sync/test/integration/single_client_bookmarks_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
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/single_client_extensions_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc b/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
index 746f213ec9d71b8c914e70f1554a4b12bf4be5e7..751b14bf9d6e3f250282695d2836c1d82a52698a 100644
--- a/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc
@@ -16,7 +16,6 @@
#include "components/sync/test/fake_server/bookmark_entity_builder.h"
#include "components/sync/test/fake_server/entity_builder_factory.h"
#include "components/sync/test/fake_server/fake_server_verifier.h"
-#include "components/sync/test/fake_server/tombstone_entity.h"
#include "ui/base/layout.h"
using bookmarks::BookmarkModel;
@@ -347,8 +346,8 @@ IN_PROC_BROWSER_TEST_F(SingleClientBookmarksSyncTest,
GetFakeServer()->GetSyncEntitiesByModelType(syncer::BOOKMARKS);
ASSERT_EQ(1ul, server_bookmarks.size());
std::string entity_id = server_bookmarks[0].id_string();
- std::unique_ptr<fake_server::FakeServerEntity> tombstone(
- fake_server::TombstoneEntity::Create(entity_id, std::string()));
+ std::unique_ptr<syncer::LoopbackServerEntity> tombstone(
+ syncer::PersistentTombstoneEntity::CreateNew(entity_id, std::string()));
GetFakeServer()->InjectEntity(std::move(tombstone));
const syncer::ModelTypeSet kBookmarksType(syncer::BOOKMARKS);
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/single_client_extensions_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698