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

Side by Side Diff: sync/syncable/write_transaction.cc

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 #include "sync/syncable/write_transaction.h" 5 #include "sync/syncable/write_transaction.h"
6 6
7 #include "sync/syncable/directory.h" 7 #include "sync/syncable/directory.h"
8 #include "sync/syncable/directory_change_delegate.h" 8 #include "sync/syncable/directory_change_delegate.h"
9 #include "sync/syncable/transaction_observer.h" 9 #include "sync/syncable/transaction_observer.h"
10 #include "sync/syncable/write_transaction_info.h" 10 #include "sync/syncable/write_transaction_info.h"
11 11
12 namespace syncer {
12 namespace syncable { 13 namespace syncable {
13 14
14 enum InvariantCheckLevel { 15 enum InvariantCheckLevel {
15 OFF = 0, 16 OFF = 0,
16 VERIFY_IN_MEMORY = 1, 17 VERIFY_IN_MEMORY = 1,
17 FULL_DB_VERIFICATION = 2 18 FULL_DB_VERIFICATION = 2
18 }; 19 };
19 20
20 const InvariantCheckLevel kInvariantCheckLevel = VERIFY_IN_MEMORY; 21 const InvariantCheckLevel kInvariantCheckLevel = VERIFY_IN_MEMORY;
21 22
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 ENUM_CASE(PURGE_ENTRIES); 150 ENUM_CASE(PURGE_ENTRIES);
150 ENUM_CASE(SYNCAPI); 151 ENUM_CASE(SYNCAPI);
151 }; 152 };
152 NOTREACHED(); 153 NOTREACHED();
153 return ""; 154 return "";
154 } 155 }
155 156
156 #undef ENUM_CASE 157 #undef ENUM_CASE
157 158
158 } // namespace syncable 159 } // namespace syncable
160 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698