diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 19:10:38 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 19:10:38 +0000 |
commit | 1c0fb257023da8f7cb1b8d734b5873dd9eadc8bc (patch) | |
tree | a10a4c8d881b5e75f2d7e4bad266074be06b2968 /sync | |
parent | 691ac7a854ab1a6457aab76787615328e8522721 (diff) | |
download | chromium_src-1c0fb257023da8f7cb1b8d734b5873dd9eadc8bc.zip chromium_src-1c0fb257023da8f7cb1b8d734b5873dd9eadc8bc.tar.gz chromium_src-1c0fb257023da8f7cb1b8d734b5873dd9eadc8bc.tar.bz2 |
Add base::SizeTToString.
Change some users of base::Uint64ToString to base::SizeTToString.
R=brettw@chromium.org,rlarocque@chromium.org
Review URL: https://codereview.chromium.org/353693005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/internal_api/js_mutation_event_observer.cc | 3 | ||||
-rw-r--r-- | sync/syncable/write_transaction_info.cc | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sync/internal_api/js_mutation_event_observer.cc b/sync/internal_api/js_mutation_event_observer.cc index 3f1056f..b40693b 100644 --- a/sync/internal_api/js_mutation_event_observer.cc +++ b/sync/internal_api/js_mutation_event_observer.cc @@ -66,8 +66,7 @@ void JsMutationEventObserver::OnChangesApplied( } else { changes_value = new base::StringValue( - base::Uint64ToString(static_cast<uint64>(changes_size)) + - " changes"); + base::SizeTToString(changes_size) + " changes"); } details.Set("changes", changes_value); HandleJsEvent(FROM_HERE, "onChangesApplied", JsEventDetails(&details)); diff --git a/sync/syncable/write_transaction_info.cc b/sync/syncable/write_transaction_info.cc index 3f69da8..a8a2327 100644 --- a/sync/syncable/write_transaction_info.cc +++ b/sync/syncable/write_transaction_info.cc @@ -37,8 +37,7 @@ base::DictionaryValue* WriteTransactionInfo::ToValue( } else { mutations_value = new base::StringValue( - base::Uint64ToString(static_cast<uint64>(mutations_size)) + - " mutations"); + base::SizeTToString(mutations_size) + " mutations"); } dict->Set("mutations", mutations_value); return dict; |