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

Side by Side Diff: components/sync/core/write_transaction.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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
« no previous file with comments | « components/sync/core/write_node.cc ('k') | components/sync/core_impl/change_reorder_buffer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_transaction.h" 5 #include "components/sync/core/write_transaction.h"
6 6
7 #include <stdint.h>
8
9 #include "components/sync/syncable/directory.h" 7 #include "components/sync/syncable/directory.h"
10 #include "components/sync/syncable/mutable_entry.h" 8 #include "components/sync/syncable/mutable_entry.h"
11 #include "components/sync/syncable/syncable_write_transaction.h" 9 #include "components/sync/syncable/syncable_write_transaction.h"
12 10
13 namespace syncer { 11 namespace syncer {
14 12
15 ////////////////////////////////////////////////////////////////////////// 13 //////////////////////////////////////////////////////////////////////////
16 // WriteTransaction member definitions 14 // WriteTransaction member definitions
17 WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here, 15 WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here,
18 UserShare* share) 16 UserShare* share)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 GetDirectory()->GetMetahandlesByAttachmentId( 80 GetDirectory()->GetMetahandlesByAttachmentId(
83 transaction_, attachment_id.GetProto(), &handles); 81 transaction_, attachment_id.GetProto(), &handles);
84 for (syncable::Directory::Metahandles::iterator iter = handles.begin(); 82 for (syncable::Directory::Metahandles::iterator iter = handles.begin();
85 iter != handles.end(); ++iter) { 83 iter != handles.end(); ++iter) {
86 syncable::MutableEntry entry(transaction_, syncable::GET_BY_HANDLE, *iter); 84 syncable::MutableEntry entry(transaction_, syncable::GET_BY_HANDLE, *iter);
87 entry.MarkAttachmentAsOnServer(attachment_id.GetProto()); 85 entry.MarkAttachmentAsOnServer(attachment_id.GetProto());
88 } 86 }
89 } 87 }
90 88
91 } // namespace syncer 89 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/core/write_node.cc ('k') | components/sync/core_impl/change_reorder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698