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

Side by Side Diff: components/sync/core/write_node.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/core/write_node.h" 5 #include "components/sync/core/write_node.h"
6 6
7 #include <memory>
8
7 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
8 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
9 #include "base/values.h" 11 #include "base/values.h"
10 #include "components/sync/base/cryptographer.h" 12 #include "components/sync/base/cryptographer.h"
11 #include "components/sync/core/base_transaction.h" 13 #include "components/sync/core/base_transaction.h"
12 #include "components/sync/core/write_transaction.h" 14 #include "components/sync/core/write_transaction.h"
13 #include "components/sync/core_impl/syncapi_internal.h" 15 #include "components/sync/core_impl/syncapi_internal.h"
14 #include "components/sync/protocol/bookmark_specifics.pb.h" 16 #include "components/sync/protocol/bookmark_specifics.pb.h"
15 #include "components/sync/protocol/typed_url_specifics.pb.h" 17 #include "components/sync/protocol/typed_url_specifics.pb.h"
16 #include "components/sync/syncable/mutable_entry.h" 18 #include "components/sync/syncable/mutable_entry.h"
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 syncable::Id predecessor_id = 469 syncable::Id predecessor_id =
468 predecessor ? predecessor->GetSyncId() : syncable::Id(); 470 predecessor ? predecessor->GetSyncId() : syncable::Id();
469 return entry_->PutPredecessor(predecessor_id); 471 return entry_->PutPredecessor(predecessor_id);
470 } 472 }
471 473
472 void WriteNode::MarkForSyncing() { 474 void WriteNode::MarkForSyncing() {
473 syncable::MarkForSyncing(entry_); 475 syncable::MarkForSyncing(entry_);
474 } 476 }
475 477
476 } // namespace syncer 478 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/core/test/test_user_share.h ('k') | components/sync/core_impl/sync_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698