OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 5 |
6 #include "chrome/browser/sync/engine/verify_updates_command.h" | 6 #include "chrome/browser/sync/engine/verify_updates_command.h" |
7 | 7 |
8 #include "chrome/browser/sync/engine/syncer.h" | 8 #include "chrome/browser/sync/engine/syncer.h" |
9 #include "chrome/browser/sync/engine/syncer_proto_util.h" | 9 #include "chrome/browser/sync/engine/syncer_proto_util.h" |
10 #include "chrome/browser/sync/engine/syncer_types.h" | 10 #include "chrome/browser/sync/engine/syncer_types.h" |
11 #include "chrome/browser/sync/engine/syncer_util.h" | 11 #include "chrome/browser/sync/engine/syncer_util.h" |
12 #include "chrome/browser/sync/engine/syncproto.h" | 12 #include "chrome/browser/sync/engine/syncproto.h" |
13 #include "chrome/browser/sync/syncable/directory_manager.h" | 13 #include "chrome/browser/sync/syncable/directory_manager.h" |
14 #include "chrome/browser/sync/syncable/syncable.h" | 14 #include "chrome/browser/sync/syncable/syncable.h" |
15 #include "chrome/browser/sync/util/character_set_converters.h" | |
16 #include "chrome/browser/sync/util/sync_types.h" | 15 #include "chrome/browser/sync/util/sync_types.h" |
17 | 16 |
18 namespace browser_sync { | 17 namespace browser_sync { |
19 | 18 |
20 using syncable::ScopedDirLookup; | 19 using syncable::ScopedDirLookup; |
21 using syncable::SyncName; | 20 using syncable::SyncName; |
22 using syncable::WriteTransaction; | 21 using syncable::WriteTransaction; |
23 | 22 |
24 using syncable::GET_BY_ID; | 23 using syncable::GET_BY_ID; |
25 using syncable::SYNCER; | 24 using syncable::SYNCER; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 deleted, is_directory, is_bookmark); | 92 deleted, is_directory, is_bookmark); |
94 } | 93 } |
95 | 94 |
96 if (VERIFY_UNDECIDED == result) | 95 if (VERIFY_UNDECIDED == result) |
97 return VERIFY_SUCCESS; // No news is good news. | 96 return VERIFY_SUCCESS; // No news is good news. |
98 else | 97 else |
99 return result; // This might be VERIFY_SUCCESS as well | 98 return result; // This might be VERIFY_SUCCESS as well |
100 } | 99 } |
101 | 100 |
102 } // namespace browser_sync | 101 } // namespace browser_sync |
OLD | NEW |