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

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

Issue 377413003: Remove most remaining sync/notifier dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win compile Created 6 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/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 "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "sync/internal_api/public/base/invalidation.h"
9 #include "sync/notifier/invalidation_util.h"
10 #include "sync/notifier/object_id_invalidation_map.h"
11 #include "sync/protocol/sync.pb.h" 8 #include "sync/protocol/sync.pb.h"
12 9
13 namespace syncer { 10 namespace syncer {
14 namespace sessions { 11 namespace sessions {
15 12
16 size_t NudgeTracker::kDefaultMaxPayloadsPerType = 10; 13 size_t NudgeTracker::kDefaultMaxPayloadsPerType = 10;
17 14
18 NudgeTracker::NudgeTracker() 15 NudgeTracker::NudgeTracker()
19 : type_tracker_deleter_(&type_trackers_), 16 : type_tracker_deleter_(&type_trackers_),
20 invalidations_enabled_(false), 17 invalidations_enabled_(false),
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 it->second->UpdatePayloadBufferSize(size); 298 it->second->UpdatePayloadBufferSize(size);
302 } 299 }
303 } 300 }
304 301
305 void NudgeTracker::SetNextRetryTime(base::TimeTicks retry_time) { 302 void NudgeTracker::SetNextRetryTime(base::TimeTicks retry_time) {
306 next_retry_time_ = retry_time; 303 next_retry_time_ = retry_time;
307 } 304 }
308 305
309 } // namespace sessions 306 } // namespace sessions
310 } // namespace syncer 307 } // 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