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 "components/sync/core_impl/js_mutation_event_observer.h" | 5 #include "components/sync/engine_impl/js_mutation_event_observer.h" |
6 | 6 |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "components/sync/base/model_type.h" | 9 #include "components/sync/base/model_type.h" |
10 #include "components/sync/js/js_event_details.h" | 10 #include "components/sync/js/js_event_details.h" |
11 #include "components/sync/js/js_test_util.h" | 11 #include "components/sync/js/js_test_util.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace syncer { | 14 namespace syncer { |
15 namespace { | 15 namespace { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 } | 101 } |
102 | 102 |
103 for (int i = FIRST_REAL_MODEL_TYPE; i < MODEL_TYPE_COUNT; ++i) { | 103 for (int i = FIRST_REAL_MODEL_TYPE; i < MODEL_TYPE_COUNT; ++i) { |
104 js_mutation_event_observer_.OnChangesComplete(ModelTypeFromInt(i)); | 104 js_mutation_event_observer_.OnChangesComplete(ModelTypeFromInt(i)); |
105 } | 105 } |
106 PumpLoop(); | 106 PumpLoop(); |
107 } | 107 } |
108 | 108 |
109 } // namespace | 109 } // namespace |
110 } // namespace syncer | 110 } // namespace syncer |
OLD | NEW |