Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: components/sync/sessions_impl/status_controller.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "components/sync/sessions_impl/status_controller.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "sync/internal_api/public/base/model_type.h" 9 #include "components/sync/base/model_type.h"
10 #include "sync/protocol/sync_protocol_error.h" 10 #include "components/sync/protocol/sync_protocol_error.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 namespace sessions { 13 namespace sessions {
14 14
15 StatusController::StatusController() { 15 StatusController::StatusController() {}
16 }
17 16
18 StatusController::~StatusController() {} 17 StatusController::~StatusController() {}
19 18
20 const ModelTypeSet StatusController::get_updates_request_types() const { 19 const ModelTypeSet StatusController::get_updates_request_types() const {
21 return model_neutral_.get_updates_request_types; 20 return model_neutral_.get_updates_request_types;
22 } 21 }
23 22
24 void StatusController::set_get_updates_request_types(ModelTypeSet value) { 23 void StatusController::set_get_updates_request_types(ModelTypeSet value) {
25 model_neutral_.get_updates_request_types = value; 24 model_neutral_.get_updates_request_types = value;
26 } 25 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 int StatusController::TotalNumConflictingItems() const { 134 int StatusController::TotalNumConflictingItems() const {
136 int sum = 0; 135 int sum = 0;
137 sum += num_encryption_conflicts(); 136 sum += num_encryption_conflicts();
138 sum += num_hierarchy_conflicts(); 137 sum += num_hierarchy_conflicts();
139 sum += num_server_conflicts(); 138 sum += num_server_conflicts();
140 return sum; 139 return sum;
141 } 140 }
142 141
143 } // namespace sessions 142 } // namespace sessions
144 } // namespace syncer 143 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/sessions_impl/status_controller.h ('k') | components/sync/sessions_impl/status_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698