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

Side by Side Diff: sync/sessions/status_controller.cc

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sync/sessions/status_controller.h ('k') | sync/sessions/status_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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/base/model_type.h" 10 #include "sync/internal_api/public/base/model_type.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 PerModelSafeGroupState* state = new PerModelSafeGroupState(); 87 PerModelSafeGroupState* state = new PerModelSafeGroupState();
88 it = per_model_group_.insert(std::make_pair(group, state)).first; 88 it = per_model_group_.insert(std::make_pair(group, state)).first;
89 } 89 }
90 return it->second; 90 return it->second;
91 } 91 }
92 92
93 void StatusController::increment_num_updates_downloaded_by(int value) { 93 void StatusController::increment_num_updates_downloaded_by(int value) {
94 model_neutral_.num_updates_downloaded_total += value; 94 model_neutral_.num_updates_downloaded_total += value;
95 } 95 }
96 96
97 void StatusController::set_types_needing_local_migration( 97 void StatusController::set_types_needing_local_migration(ModelTypeSet types) {
98 syncer::ModelTypeSet types) {
99 model_neutral_.types_needing_local_migration = types; 98 model_neutral_.types_needing_local_migration = types;
100 } 99 }
101 100
102 void StatusController::increment_num_tombstone_updates_downloaded_by( 101 void StatusController::increment_num_tombstone_updates_downloaded_by(
103 int value) { 102 int value) {
104 model_neutral_.num_tombstone_updates_downloaded_total += value; 103 model_neutral_.num_tombstone_updates_downloaded_total += value;
105 } 104 }
106 105
107 void StatusController::increment_num_reflected_updates_downloaded_by( 106 void StatusController::increment_num_reflected_updates_downloaded_by(
108 int value) { 107 int value) {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 void StatusController::set_debug_info_sent() { 260 void StatusController::set_debug_info_sent() {
262 model_neutral_.debug_info_sent = true; 261 model_neutral_.debug_info_sent = true;
263 } 262 }
264 263
265 bool StatusController::debug_info_sent() const { 264 bool StatusController::debug_info_sent() const {
266 return model_neutral_.debug_info_sent; 265 return model_neutral_.debug_info_sent;
267 } 266 }
268 267
269 } // namespace sessions 268 } // namespace sessions
270 } // namespace syncer 269 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/status_controller.h ('k') | sync/sessions/status_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698