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

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

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sync/sessions/status_controller.h ('k') | sync/sessions/sync_session.h » ('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"
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
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
OLDNEW
« no previous file with comments | « sync/sessions/status_controller.h ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698