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/internal_api/js_mutation_event_observer.h" | 5 #include "sync/internal_api/js_mutation_event_observer.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "sync/js/js_event_details.h" | 10 #include "sync/js/js_event_details.h" |
11 #include "sync/js/js_test_util.h" | 11 #include "sync/js/js_test_util.h" |
12 #include "sync/syncable/model_type.h" | 12 #include "sync/syncable/model_type.h" |
13 #include "sync/util/weak_handle.h" | 13 #include "sync/util/weak_handle.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 for (int i = syncable::FIRST_REAL_MODEL_TYPE; | 118 for (int i = syncable::FIRST_REAL_MODEL_TYPE; |
119 i < syncable::MODEL_TYPE_COUNT; ++i) { | 119 i < syncable::MODEL_TYPE_COUNT; ++i) { |
120 js_mutation_event_observer_.OnChangesComplete( | 120 js_mutation_event_observer_.OnChangesComplete( |
121 syncable::ModelTypeFromInt(i)); | 121 syncable::ModelTypeFromInt(i)); |
122 } | 122 } |
123 PumpLoop(); | 123 PumpLoop(); |
124 } | 124 } |
125 | 125 |
126 } // namespace | 126 } // namespace |
127 } // namespace browser_sync | 127 } // namespace browser_sync |
OLD | NEW |