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

Unified Diff: components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc

Issue 2618483003: [Sync] Introduce ModelError for USS error handling. (Closed)
Patch Set: Address comments. Created 3 years, 11 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: components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc
diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc b/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc
index 596d67d1812fa2ca7eb1436a2ea8a8706f35ef85..4e7fd4232e3583ed5ffdbf0d409ff5b7be967d21 100644
--- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc
+++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge_unittest.cc
@@ -28,7 +28,6 @@ using sync_pb::AutofillSpecifics;
using sync_pb::EntitySpecifics;
using syncer::EntityDataPtr;
using syncer::EntityData;
-using syncer::SyncError;
namespace autofill {
@@ -42,9 +41,7 @@ void VerifyEqual(const AutofillSpecifics& s1, const AutofillSpecifics& s2) {
}
void VerifyDataBatch(std::map<std::string, AutofillSpecifics> expected,
- SyncError error,
std::unique_ptr<syncer::DataBatch> batch) {
- EXPECT_FALSE(error.IsSet());
while (batch->HasNext()) {
const syncer::KeyAndData& pair = batch->Next();
auto iter = expected.find(pair.first);

Powered by Google App Engine
This is Rietveld 408576698