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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
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 "chrome/browser/sync/internal_api/read_transaction.h" 5 #include "chrome/browser/sync/internal_api/read_transaction.h"
6 6
7 #include "chrome/browser/sync/syncable/syncable.h" 7 #include "sync/syncable/syncable.h"
8 8
9 namespace sync_api { 9 namespace sync_api {
10 10
11 ////////////////////////////////////////////////////////////////////////// 11 //////////////////////////////////////////////////////////////////////////
12 // ReadTransaction member definitions 12 // ReadTransaction member definitions
13 ReadTransaction::ReadTransaction(const tracked_objects::Location& from_here, 13 ReadTransaction::ReadTransaction(const tracked_objects::Location& from_here,
14 UserShare* share) 14 UserShare* share)
15 : BaseTransaction(share), 15 : BaseTransaction(share),
16 transaction_(NULL), 16 transaction_(NULL),
17 close_transaction_(true) { 17 close_transaction_(true) {
(...skipping 11 matching lines...) Expand all
29 if (close_transaction_) { 29 if (close_transaction_) {
30 delete transaction_; 30 delete transaction_;
31 } 31 }
32 } 32 }
33 33
34 syncable::BaseTransaction* ReadTransaction::GetWrappedTrans() const { 34 syncable::BaseTransaction* ReadTransaction::GetWrappedTrans() const {
35 return transaction_; 35 return transaction_;
36 } 36 }
37 37
38 } // namespace sync_api 38 } // namespace sync_api
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/read_node.cc ('k') | chrome/browser/sync/internal_api/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698