OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/driver/model_association_manager.h" | 5 #include "components/sync/driver/model_association_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <functional> | 11 #include <functional> |
12 | 12 |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | |
15 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
16 #include "base/metrics/histogram_macros.h" | 15 #include "base/metrics/histogram_macros.h" |
17 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
18 #include "components/sync/api/sync_merge_result.h" | 17 #include "components/sync/api/sync_merge_result.h" |
19 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
20 | 19 |
21 using syncer::ModelTypeSet; | 20 using syncer::ModelTypeSet; |
22 | 21 |
23 namespace sync_driver { | 22 namespace sync_driver { |
24 | 23 |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 // At least one type is not ready. | 418 // At least one type is not ready. |
420 return; | 419 return; |
421 } | 420 } |
422 } | 421 } |
423 | 422 |
424 notified_about_ready_for_configure_ = true; | 423 notified_about_ready_for_configure_ = true; |
425 delegate_->OnAllDataTypesReadyForConfigure(); | 424 delegate_->OnAllDataTypesReadyForConfigure(); |
426 } | 425 } |
427 | 426 |
428 } // namespace sync_driver | 427 } // namespace sync_driver |
OLD | NEW |