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

Unified Diff: components/sync/syncable/write_transaction_info.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
« no previous file with comments | « components/sync/syncable/syncable_id.cc ('k') | components/sync/test/fake_server/fake_server_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/write_transaction_info.cc
diff --git a/components/sync/syncable/write_transaction_info.cc b/components/sync/syncable/write_transaction_info.cc
index 9a156e865f6e6997a78c2f9d06a404dc8250bf79..0c4ac293010ac87b0b685accbe4edeb222f851e4 100644
--- a/components/sync/syncable/write_transaction_info.cc
+++ b/components/sync/syncable/write_transaction_info.cc
@@ -41,7 +41,7 @@ base::DictionaryValue* WriteTransactionInfo::ToValue(
if (mutations_size <= max_mutations_size) {
mutations_value = EntryKernelMutationMapToValue(mutations.Get());
} else {
- mutations_value = base::MakeUnique<base::StringValue>(
+ mutations_value = base::MakeUnique<base::Value>(
base::SizeTToString(mutations_size) + " mutations");
}
dict->Set("mutations", std::move(mutations_value));
« no previous file with comments | « components/sync/syncable/syncable_id.cc ('k') | components/sync/test/fake_server/fake_server_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698