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

Side by Side Diff: sync/sessions/nudge_tracker.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/nudge_tracker.h ('k') | sync/sessions/nudge_tracker_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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/nudge_tracker.h" 5 #include "sync/sessions/nudge_tracker.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/basictypes.h"
10 #include "sync/internal_api/public/engine/polling_constants.h" 11 #include "sync/internal_api/public/engine/polling_constants.h"
11 #include "sync/protocol/sync.pb.h" 12 #include "sync/protocol/sync.pb.h"
12 13
13 namespace syncer { 14 namespace syncer {
14 namespace sessions { 15 namespace sessions {
15 16
16 namespace { 17 namespace {
17 18
18 // Delays for syncer nudges. 19 // Delays for syncer nudges.
19 const int kDefaultNudgeDelayMilliseconds = 200; 20 const int kDefaultNudgeDelayMilliseconds = 200;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 } 404 }
404 } 405 }
405 } 406 }
406 407
407 void NudgeTracker::SetDefaultNudgeDelay(base::TimeDelta nudge_delay) { 408 void NudgeTracker::SetDefaultNudgeDelay(base::TimeDelta nudge_delay) {
408 minimum_local_nudge_delay_ = nudge_delay; 409 minimum_local_nudge_delay_ = nudge_delay;
409 } 410 }
410 411
411 } // namespace sessions 412 } // namespace sessions
412 } // namespace syncer 413 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/nudge_tracker.h ('k') | sync/sessions/nudge_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698