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

Unified Diff: components/sync/test/fake_server/fake_server_verifier.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/sync/test/fake_server/fake_server_verifier.cc
diff --git a/components/sync/test/fake_server/fake_server_verifier.cc b/components/sync/test/fake_server/fake_server_verifier.cc
index b2497ea8d433e479e2db4fcda33374276d93b9ca..daccde28b70c60bd04b1e8b7790b7b0597c22ce0 100644
--- a/components/sync/test/fake_server/fake_server_verifier.cc
+++ b/components/sync/test/fake_server/fake_server_verifier.cc
@@ -104,7 +104,7 @@ AssertionResult FakeServerVerifier::VerifyEntityCountByTypeAndName(
base::ListValue* entity_list = nullptr;
size_t actual_count = 0;
if (entities->GetList(model_type_string, &entity_list)) {
- base::StringValue name_value(name);
+ base::Value name_value(name);
for (const auto& entity : *entity_list) {
if (name_value.Equals(entity.get()))
actual_count++;
« no previous file with comments | « components/sync/syncable/write_transaction_info.cc ('k') | components/sync_preferences/pref_model_associator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698