| OLD | NEW |
| 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 "chrome/browser/sync/engine/verify_updates_command.h" | 5 #include "chrome/browser/sync/engine/verify_updates_command.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "chrome/browser/sync/engine/syncer.h" | 10 #include "chrome/browser/sync/engine/syncer.h" |
| 11 #include "chrome/browser/sync/engine/syncer_proto_util.h" | 11 #include "chrome/browser/sync/engine/syncer_proto_util.h" |
| 12 #include "chrome/browser/sync/engine/syncer_types.h" | 12 #include "chrome/browser/sync/engine/syncer_types.h" |
| 13 #include "chrome/browser/sync/engine/syncer_util.h" | 13 #include "chrome/browser/sync/engine/syncer_util.h" |
| 14 #include "chrome/browser/sync/engine/syncproto.h" | 14 #include "chrome/browser/sync/engine/syncproto.h" |
| 15 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" | |
| 16 #include "chrome/browser/sync/syncable/syncable.h" | 15 #include "chrome/browser/sync/syncable/syncable.h" |
| 16 #include "sync/protocol/bookmark_specifics.pb.h" |
| 17 | 17 |
| 18 namespace browser_sync { | 18 namespace browser_sync { |
| 19 | 19 |
| 20 using syncable::WriteTransaction; | 20 using syncable::WriteTransaction; |
| 21 | 21 |
| 22 using syncable::GET_BY_ID; | 22 using syncable::GET_BY_ID; |
| 23 using syncable::SYNCER; | 23 using syncable::SYNCER; |
| 24 | 24 |
| 25 VerifyUpdatesCommand::VerifyUpdatesCommand() {} | 25 VerifyUpdatesCommand::VerifyUpdatesCommand() {} |
| 26 VerifyUpdatesCommand::~VerifyUpdatesCommand() {} | 26 VerifyUpdatesCommand::~VerifyUpdatesCommand() {} |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 deleted, is_directory, model_type); | 130 deleted, is_directory, model_type); |
| 131 } | 131 } |
| 132 | 132 |
| 133 if (VERIFY_UNDECIDED == result.value) | 133 if (VERIFY_UNDECIDED == result.value) |
| 134 result.value = VERIFY_SUCCESS; // No news is good news. | 134 result.value = VERIFY_SUCCESS; // No news is good news. |
| 135 | 135 |
| 136 return result; // This might be VERIFY_SUCCESS as well | 136 return result; // This might be VERIFY_SUCCESS as well |
| 137 } | 137 } |
| 138 | 138 |
| 139 } // namespace browser_sync | 139 } // namespace browser_sync |
| OLD | NEW |