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_sync_manager_observer.h" | 5 #include "sync/internal_api/js_sync_manager_observer.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "sync/js/js_event_details.h" | 11 #include "sync/js/js_event_details.h" |
12 #include "sync/js/js_test_util.h" | 12 #include "sync/js/js_test_util.h" |
13 #include "sync/protocol/sync_protocol_error.h" | 13 #include "sync/protocol/sync_protocol_error.h" |
14 #include "sync/sessions/session_state.h" | 14 #include "sync/sessions/session_state.h" |
15 #include "sync/syncable/model_type.h" | 15 #include "sync/syncable/model_type.h" |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 HandleJsEvent("onEncryptedTypesChanged", | 212 HandleJsEvent("onEncryptedTypesChanged", |
213 HasDetailsAsDictionary(expected_details))); | 213 HasDetailsAsDictionary(expected_details))); |
214 | 214 |
215 js_sync_manager_observer_.OnEncryptedTypesChanged( | 215 js_sync_manager_observer_.OnEncryptedTypesChanged( |
216 encrypted_types, encrypt_everything); | 216 encrypted_types, encrypt_everything); |
217 PumpLoop(); | 217 PumpLoop(); |
218 } | 218 } |
219 | 219 |
220 } // namespace | 220 } // namespace |
221 } // namespace browser_sync | 221 } // namespace browser_sync |
OLD | NEW |