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

Unified Diff: components/sync/syncable/write_transaction_info.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 | « components/sync/syncable/write_transaction_info.h ('k') | components/sync/test/DEPS » ('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/sync/syncable/write_transaction_info.cc b/components/sync/syncable/write_transaction_info.cc
similarity index 84%
rename from sync/syncable/write_transaction_info.cc
rename to components/sync/syncable/write_transaction_info.cc
index c7362e387e4e37c424e830843c664aa73d546d19..2dd1195d4188032cb75625e51ddd603f1582e0dc 100644
--- a/sync/syncable/write_transaction_info.cc
+++ b/components/sync/syncable/write_transaction_info.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/syncable/write_transaction_info.h"
+#include "components/sync/syncable/write_transaction_info.h"
#include <stddef.h>
#include <stdint.h>
@@ -22,8 +22,7 @@ WriteTransactionInfo::WriteTransactionInfo(
writer(writer),
mutations(mutations) {}
-WriteTransactionInfo::WriteTransactionInfo()
- : id(-1), writer(INVALID) {}
+WriteTransactionInfo::WriteTransactionInfo() : id(-1), writer(INVALID) {}
WriteTransactionInfo::WriteTransactionInfo(const WriteTransactionInfo& other) =
default;
@@ -41,9 +40,8 @@ base::DictionaryValue* WriteTransactionInfo::ToValue(
if (mutations_size <= max_mutations_size) {
mutations_value = EntryKernelMutationMapToValue(mutations.Get());
} else {
- mutations_value =
- new base::StringValue(
- base::SizeTToString(mutations_size) + " mutations");
+ mutations_value = new base::StringValue(
+ base::SizeTToString(mutations_size) + " mutations");
}
dict->Set("mutations", mutations_value);
return dict;
« no previous file with comments | « components/sync/syncable/write_transaction_info.h ('k') | components/sync/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698