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

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

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address 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_node.h" 5 #include "components/sync/syncable/write_node.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "components/sync/base/cryptographer.h" 12 #include "components/sync/base/cryptographer.h"
13 #include "components/sync/core_impl/syncapi_internal.h" 13 #include "components/sync/engine/engine_util.h"
14 #include "components/sync/protocol/bookmark_specifics.pb.h" 14 #include "components/sync/protocol/bookmark_specifics.pb.h"
15 #include "components/sync/protocol/typed_url_specifics.pb.h" 15 #include "components/sync/protocol/typed_url_specifics.pb.h"
16 #include "components/sync/syncable/base_transaction.h" 16 #include "components/sync/syncable/base_transaction.h"
17 #include "components/sync/syncable/mutable_entry.h" 17 #include "components/sync/syncable/mutable_entry.h"
18 #include "components/sync/syncable/nigori_util.h" 18 #include "components/sync/syncable/nigori_util.h"
19 #include "components/sync/syncable/syncable_util.h" 19 #include "components/sync/syncable/syncable_util.h"
20 #include "components/sync/syncable/write_transaction.h" 20 #include "components/sync/syncable/write_transaction.h"
21 21
22 using std::string; 22 using std::string;
23 using std::vector; 23 using std::vector;
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 syncable::Id predecessor_id = 469 syncable::Id predecessor_id =
470 predecessor ? predecessor->GetSyncId() : syncable::Id(); 470 predecessor ? predecessor->GetSyncId() : syncable::Id();
471 return entry_->PutPredecessor(predecessor_id); 471 return entry_->PutPredecessor(predecessor_id);
472 } 472 }
473 473
474 void WriteNode::MarkForSyncing() { 474 void WriteNode::MarkForSyncing() {
475 syncable::MarkForSyncing(entry_); 475 syncable::MarkForSyncing(entry_);
476 } 476 }
477 477
478 } // namespace syncer 478 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/user_share.h ('k') | components/sync/test/engine/mock_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698