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

Side by Side Diff: sync/syncable/base_transaction.h

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 #ifndef SYNC_SYNCABLE_BASE_TRANSACTION_H_ 5 #ifndef SYNC_SYNCABLE_BASE_TRANSACTION_H_
6 #define SYNC_SYNCABLE_BASE_TRANSACTION_H_ 6 #define SYNC_SYNCABLE_BASE_TRANSACTION_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "sync/syncable/syncable_id.h" 10 #include "sync/syncable/syncable_id.h"
11 11
12 namespace syncer {
12 namespace syncable { 13 namespace syncable {
13 14
14 class Directory; 15 class Directory;
15 16
16 // A WriteTransaction has a writer tag describing which body of code is doing 17 // A WriteTransaction has a writer tag describing which body of code is doing
17 // the write. This is defined up here since WriteTransactionInfo also contains 18 // the write. This is defined up here since WriteTransactionInfo also contains
18 // one. 19 // one.
19 enum WriterTag { 20 enum WriterTag {
20 INVALID, 21 INVALID,
21 SYNCER, 22 SYNCER,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Error information. 70 // Error information.
70 bool unrecoverable_error_set_; 71 bool unrecoverable_error_set_;
71 tracked_objects::Location unrecoverable_error_location_; 72 tracked_objects::Location unrecoverable_error_location_;
72 std::string unrecoverable_error_msg_; 73 std::string unrecoverable_error_msg_;
73 74
74 private: 75 private:
75 friend class Entry; 76 friend class Entry;
76 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); 77 DISALLOW_COPY_AND_ASSIGN(BaseTransaction);
77 }; 78 };
78 79
79 } 80 } // namespace syncable
81 } // namespace syncer
80 82
81 #endif // SYNC_SYNCABLE_BASE_TRANSACTION_H_ 83 #endif // SYNC_SYNCABLE_BASE_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698