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

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

Issue 11441026: [Sync] Add support for loading, updating and querying delete journals in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « sync/syncable/syncable_unittest.cc ('k') | sync/test/test_directory_backing_store.h » ('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 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/syncable/syncable_write_transaction.h" 5 #include "sync/syncable/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/mutable_entry.h" 9 #include "sync/syncable/mutable_entry.h"
10 #include "sync/syncable/transaction_observer.h" 10 #include "sync/syncable/transaction_observer.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 #define ENUM_CASE(x) case x: return #x; break 164 #define ENUM_CASE(x) case x: return #x; break
165 165
166 std::string WriterTagToString(WriterTag writer_tag) { 166 std::string WriterTagToString(WriterTag writer_tag) {
167 switch (writer_tag) { 167 switch (writer_tag) {
168 ENUM_CASE(INVALID); 168 ENUM_CASE(INVALID);
169 ENUM_CASE(SYNCER); 169 ENUM_CASE(SYNCER);
170 ENUM_CASE(AUTHWATCHER); 170 ENUM_CASE(AUTHWATCHER);
171 ENUM_CASE(UNITTEST); 171 ENUM_CASE(UNITTEST);
172 ENUM_CASE(VACUUM_AFTER_SAVE); 172 ENUM_CASE(VACUUM_AFTER_SAVE);
173 ENUM_CASE(HANDLE_SAVE_FAILURE);
173 ENUM_CASE(PURGE_ENTRIES); 174 ENUM_CASE(PURGE_ENTRIES);
174 ENUM_CASE(SYNCAPI); 175 ENUM_CASE(SYNCAPI);
175 }; 176 };
176 NOTREACHED(); 177 NOTREACHED();
177 return ""; 178 return "";
178 } 179 }
179 180
180 #undef ENUM_CASE 181 #undef ENUM_CASE
181 182
182 } // namespace syncable 183 } // namespace syncable
183 } // namespace syncer 184 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/syncable/syncable_unittest.cc ('k') | sync/test/test_directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698