OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |