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

Side by Side Diff: sync/engine/sync_scheduler_impl.cc

Issue 612573005: [Sync] Clean up ProfileSyncService observer events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 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/engine/sync_scheduler_impl.h" 5 #include "sync/engine/sync_scheduler_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstring> 8 #include <cstring>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ModelTypeSet types_to_download, 89 ModelTypeSet types_to_download,
90 const ModelSafeRoutingInfo& routing_info, 90 const ModelSafeRoutingInfo& routing_info,
91 const base::Closure& ready_task, 91 const base::Closure& ready_task,
92 const base::Closure& retry_task) 92 const base::Closure& retry_task)
93 : source(source), 93 : source(source),
94 types_to_download(types_to_download), 94 types_to_download(types_to_download),
95 routing_info(routing_info), 95 routing_info(routing_info),
96 ready_task(ready_task), 96 ready_task(ready_task),
97 retry_task(retry_task) { 97 retry_task(retry_task) {
98 DCHECK(!ready_task.is_null()); 98 DCHECK(!ready_task.is_null());
99 DCHECK(!retry_task.is_null());
100 } 99 }
101 ConfigurationParams::~ConfigurationParams() {} 100 ConfigurationParams::~ConfigurationParams() {}
102 101
103 SyncSchedulerImpl::WaitInterval::WaitInterval() 102 SyncSchedulerImpl::WaitInterval::WaitInterval()
104 : mode(UNKNOWN) {} 103 : mode(UNKNOWN) {}
105 104
106 SyncSchedulerImpl::WaitInterval::WaitInterval(Mode mode, TimeDelta length) 105 SyncSchedulerImpl::WaitInterval::WaitInterval(Mode mode, TimeDelta length)
107 : mode(mode), length(length) {} 106 : mode(mode), length(length) {}
108 107
109 SyncSchedulerImpl::WaitInterval::~WaitInterval() {} 108 SyncSchedulerImpl::WaitInterval::~WaitInterval() {}
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 909
911 #undef SDVLOG_LOC 910 #undef SDVLOG_LOC
912 911
913 #undef SDVLOG 912 #undef SDVLOG
914 913
915 #undef SLOG 914 #undef SLOG
916 915
917 #undef ENUM_CASE 916 #undef ENUM_CASE
918 917
919 } // namespace syncer 918 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698