| 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 "sync/sessions/status_controller.h" | 5 #include "sync/sessions/status_controller.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "sync/internal_api/public/syncable/model_type.h" | 10 #include "sync/internal_api/public/base/model_type.h" |
| 11 #include "sync/protocol/sync_protocol_error.h" | 11 #include "sync/protocol/sync_protocol_error.h" |
| 12 | 12 |
| 13 namespace syncer { | 13 namespace syncer { |
| 14 namespace sessions { | 14 namespace sessions { |
| 15 | 15 |
| 16 using syncable::FIRST_REAL_MODEL_TYPE; | 16 using syncable::FIRST_REAL_MODEL_TYPE; |
| 17 using syncable::MODEL_TYPE_COUNT; | 17 using syncable::MODEL_TYPE_COUNT; |
| 18 | 18 |
| 19 StatusController::StatusController(const ModelSafeRoutingInfo& routes) | 19 StatusController::StatusController(const ModelSafeRoutingInfo& routes) |
| 20 : per_model_group_deleter_(&per_model_group_), | 20 : per_model_group_deleter_(&per_model_group_), |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 void StatusController::set_debug_info_sent() { | 263 void StatusController::set_debug_info_sent() { |
| 264 model_neutral_.debug_info_sent = true; | 264 model_neutral_.debug_info_sent = true; |
| 265 } | 265 } |
| 266 | 266 |
| 267 bool StatusController::debug_info_sent() const { | 267 bool StatusController::debug_info_sent() const { |
| 268 return model_neutral_.debug_info_sent; | 268 return model_neutral_.debug_info_sent; |
| 269 } | 269 } |
| 270 | 270 |
| 271 } // namespace sessions | 271 } // namespace sessions |
| 272 } // namespace syncer | 272 } // namespace syncer |
| OLD | NEW |