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

Side by Side Diff: sync/internal_api/read_transaction.cc

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/read_node.cc ('k') | sync/internal_api/sync_encryption_handler_impl.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 (c) 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 "sync/internal_api/public/read_transaction.h" 5 #include "sync/internal_api/public/read_transaction.h"
6 6
7 #include "sync/syncable/directory.h" 7 #include "sync/syncable/directory.h"
8 #include "sync/syncable/read_transaction.h" 8 #include "sync/syncable/syncable_read_transaction.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 ////////////////////////////////////////////////////////////////////////// 12 //////////////////////////////////////////////////////////////////////////
13 // ReadTransaction member definitions 13 // ReadTransaction member definitions
14 ReadTransaction::ReadTransaction(const tracked_objects::Location& from_here, 14 ReadTransaction::ReadTransaction(const tracked_objects::Location& from_here,
15 UserShare* share) 15 UserShare* share)
16 : BaseTransaction(share), 16 : BaseTransaction(share),
17 transaction_(NULL), 17 transaction_(NULL),
18 close_transaction_(true) { 18 close_transaction_(true) {
(...skipping 15 matching lines...) Expand all
34 34
35 syncable::BaseTransaction* ReadTransaction::GetWrappedTrans() const { 35 syncable::BaseTransaction* ReadTransaction::GetWrappedTrans() const {
36 return transaction_; 36 return transaction_;
37 } 37 }
38 38
39 int64 ReadTransaction::GetModelVersion(ModelType type) { 39 int64 ReadTransaction::GetModelVersion(ModelType type) {
40 return transaction_->directory()->GetTransactionVersion(type); 40 return transaction_->directory()->GetTransactionVersion(type);
41 } 41 }
42 42
43 } // namespace syncer 43 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/read_node.cc ('k') | sync/internal_api/sync_encryption_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698