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/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 "chrome/browser/sync/protocol/sync_protocol_error.h" | 10 #include "sync/protocol/sync_protocol_error.h" |
11 #include "chrome/browser/sync/syncable/model_type.h" | 11 #include "sync/syncable/model_type.h" |
12 | 12 |
13 namespace browser_sync { | 13 namespace browser_sync { |
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 : shared_(&is_dirty_), | 20 : shared_(&is_dirty_), |
21 per_model_group_deleter_(&per_model_group_), | 21 per_model_group_deleter_(&per_model_group_), |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 void StatusController::set_debug_info_sent() { | 301 void StatusController::set_debug_info_sent() { |
302 shared_.control_params.debug_info_sent = true; | 302 shared_.control_params.debug_info_sent = true; |
303 } | 303 } |
304 | 304 |
305 bool StatusController::debug_info_sent() const { | 305 bool StatusController::debug_info_sent() const { |
306 return shared_.control_params.debug_info_sent; | 306 return shared_.control_params.debug_info_sent; |
307 } | 307 } |
308 | 308 |
309 } // namespace sessions | 309 } // namespace sessions |
310 } // namespace browser_sync | 310 } // namespace browser_sync |
OLD | NEW |