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

Side by Side Diff: components/sync/engine_impl/cycle/nudge_tracker.cc

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase Created 3 years, 10 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) 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 "components/sync/engine_impl/cycle/nudge_tracker.h" 5 #include "components/sync/engine_impl/cycle/nudge_tracker.h"
6 6
7 #include <algorithm>
7 #include <utility> 8 #include <utility>
8 9
9 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
10 #include "components/sync/engine/polling_constants.h" 11 #include "components/sync/engine/polling_constants.h"
11 12
12 namespace syncer { 13 namespace syncer {
13 14
14 namespace { 15 namespace {
15 16
16 // Delays for syncer nudges. 17 // Delays for syncer nudges.
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 GetDefaultDelayForType(type, minimum_local_nudge_delay_)); 413 GetDefaultDelayForType(type, minimum_local_nudge_delay_));
413 } 414 }
414 } 415 }
415 } 416 }
416 417
417 void NudgeTracker::SetDefaultNudgeDelay(base::TimeDelta nudge_delay) { 418 void NudgeTracker::SetDefaultNudgeDelay(base::TimeDelta nudge_delay) {
418 minimum_local_nudge_delay_ = nudge_delay; 419 minimum_local_nudge_delay_ = nudge_delay;
419 } 420 }
420 421
421 } // namespace syncer 422 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698