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

Side by Side Diff: components/sync/syncable/syncable_base_transaction.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 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 #ifndef SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_
6 #define SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "sync/base/sync_export.h" 12 #include "components/sync/base/sync_export.h"
13 #include "sync/syncable/syncable_id.h" 13 #include "components/sync/syncable/syncable_id.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 namespace syncable { 16 namespace syncable {
17 17
18 class Directory; 18 class Directory;
19 19
20 // A WriteTransaction has a writer tag describing which body of code is doing 20 // A WriteTransaction has a writer tag describing which body of code is doing
21 // the write. This is defined up here since WriteTransactionInfo also contains 21 // the write. This is defined up here since WriteTransactionInfo also contains
22 // one. 22 // one.
23 enum WriterTag { 23 enum WriterTag {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 std::string unrecoverable_error_msg_; 78 std::string unrecoverable_error_msg_;
79 79
80 private: 80 private:
81 friend class Entry; 81 friend class Entry;
82 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); 82 DISALLOW_COPY_AND_ASSIGN(BaseTransaction);
83 }; 83 };
84 84
85 } // namespace syncable 85 } // namespace syncable
86 } // namespace syncer 86 } // namespace syncer
87 87
88 #endif // SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ 88 #endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/syncable-inl.h ('k') | components/sync/syncable/syncable_base_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698