| 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" | |
| 10 #include "sync/internal_api/public/base/model_type.h" | 9 #include "sync/internal_api/public/base/model_type.h" |
| 11 #include "sync/protocol/sync_protocol_error.h" | 10 #include "sync/protocol/sync_protocol_error.h" |
| 12 | 11 |
| 13 namespace syncer { | 12 namespace syncer { |
| 14 namespace sessions { | 13 namespace sessions { |
| 15 | 14 |
| 16 StatusController::StatusController() { | 15 StatusController::StatusController() { |
| 17 } | 16 } |
| 18 | 17 |
| 19 StatusController::~StatusController() {} | 18 StatusController::~StatusController() {} |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 int StatusController::TotalNumConflictingItems() const { | 119 int StatusController::TotalNumConflictingItems() const { |
| 121 int sum = 0; | 120 int sum = 0; |
| 122 sum += num_encryption_conflicts(); | 121 sum += num_encryption_conflicts(); |
| 123 sum += num_hierarchy_conflicts(); | 122 sum += num_hierarchy_conflicts(); |
| 124 sum += num_server_conflicts(); | 123 sum += num_server_conflicts(); |
| 125 return sum; | 124 return sum; |
| 126 } | 125 } |
| 127 | 126 |
| 128 } // namespace sessions | 127 } // namespace sessions |
| 129 } // namespace syncer | 128 } // namespace syncer |
| OLD | NEW |