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

Side by Side Diff: components/sync/syncable/write_transaction_info.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync/syncable/write_transaction_info.h" 5 #include "components/sync/syncable/write_transaction_info.h"
6 6
7 #include <memory>
8 #include <utility>
9
7 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
8 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
9 12
10 namespace syncer { 13 namespace syncer {
11 namespace syncable { 14 namespace syncable {
12 15
13 WriteTransactionInfo::WriteTransactionInfo( 16 WriteTransactionInfo::WriteTransactionInfo(
14 int64_t id, 17 int64_t id,
15 tracked_objects::Location location, 18 tracked_objects::Location location,
16 WriterTag writer, 19 WriterTag writer,
(...skipping 23 matching lines...) Expand all
40 } else { 43 } else {
41 mutations_value = base::MakeUnique<base::StringValue>( 44 mutations_value = base::MakeUnique<base::StringValue>(
42 base::SizeTToString(mutations_size) + " mutations"); 45 base::SizeTToString(mutations_size) + " mutations");
43 } 46 }
44 dict->Set("mutations", std::move(mutations_value)); 47 dict->Set("mutations", std::move(mutations_value));
45 return dict; 48 return dict;
46 } 49 }
47 50
48 } // namespace syncable 51 } // namespace syncable
49 } // namespace syncer 52 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/syncable_delete_journal.cc ('k') | components/sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698