| 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 "chrome/browser/sync/engine/sync_scheduler.h" | 5 #include "sync/engine/sync_scheduler.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cstring> | 8 #include <cstring> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 15 #include "base/rand_util.h" | 15 #include "base/rand_util.h" |
| 16 #include "chrome/browser/sync/engine/syncer.h" | 16 #include "sync/engine/syncer.h" |
| 17 #include "chrome/browser/sync/protocol/proto_enum_conversions.h" | 17 #include "sync/protocol/proto_enum_conversions.h" |
| 18 #include "chrome/browser/sync/util/data_type_histogram.h" | |
| 19 #include "chrome/browser/sync/util/logging.h" | |
| 20 #include "sync/protocol/sync.pb.h" | 18 #include "sync/protocol/sync.pb.h" |
| 19 #include "sync/util/data_type_histogram.h" |
| 20 #include "sync/util/logging.h" |
| 21 | 21 |
| 22 using base::TimeDelta; | 22 using base::TimeDelta; |
| 23 using base::TimeTicks; | 23 using base::TimeTicks; |
| 24 | 24 |
| 25 namespace browser_sync { | 25 namespace browser_sync { |
| 26 | 26 |
| 27 using sessions::SyncSession; | 27 using sessions::SyncSession; |
| 28 using sessions::SyncSessionSnapshot; | 28 using sessions::SyncSessionSnapshot; |
| 29 using sessions::SyncSourceInfo; | 29 using sessions::SyncSourceInfo; |
| 30 using syncable::ModelTypeSet; | 30 using syncable::ModelTypeSet; |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1224 | 1224 |
| 1225 #undef SDVLOG_LOC | 1225 #undef SDVLOG_LOC |
| 1226 | 1226 |
| 1227 #undef SDVLOG | 1227 #undef SDVLOG |
| 1228 | 1228 |
| 1229 #undef SLOG | 1229 #undef SLOG |
| 1230 | 1230 |
| 1231 #undef ENUM_CASE | 1231 #undef ENUM_CASE |
| 1232 | 1232 |
| 1233 } // browser_sync | 1233 } // browser_sync |
| OLD | NEW |