OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/js/js_sync_manager_observer.h" | 5 #include "chrome/browser/sync/js/js_sync_manager_observer.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/tracked.h" | 11 #include "base/tracked.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/browser/sync/internal_api/read_node.h" | 13 #include "chrome/browser/sync/internal_api/read_node.h" |
14 #include "chrome/browser/sync/internal_api/read_transaction.h" | 14 #include "chrome/browser/sync/internal_api/read_transaction.h" |
15 #include "chrome/browser/sync/internal_api/write_node.h" | 15 #include "chrome/browser/sync/internal_api/write_node.h" |
16 #include "chrome/browser/sync/internal_api/write_transaction.h" | 16 #include "chrome/browser/sync/internal_api/write_transaction.h" |
17 #include "chrome/browser/sync/js/js_arg_list.h" | 17 #include "chrome/browser/sync/js/js_arg_list.h" |
18 #include "chrome/browser/sync/js/js_event_details.h" | 18 #include "chrome/browser/sync/js/js_event_details.h" |
19 #include "chrome/browser/sync/js/js_test_util.h" | 19 #include "chrome/browser/sync/js/js_test_util.h" |
20 #include "chrome/browser/sync/sessions/session_state.h" | 20 #include "chrome/browser/sync/sessions/session_state.h" |
21 #include "chrome/browser/sync/syncable/model_type.h" | 21 #include "chrome/browser/sync/syncable/model_type.h" |
| 22 #include "chrome/browser/sync/test/engine/test_user_share.h" |
22 #include "chrome/browser/sync/weak_handle.h" | 23 #include "chrome/browser/sync/weak_handle.h" |
23 #include "chrome/test/sync/engine/test_user_share.h" | |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 | 25 |
26 namespace browser_sync { | 26 namespace browser_sync { |
27 namespace { | 27 namespace { |
28 | 28 |
29 using ::testing::InSequence; | 29 using ::testing::InSequence; |
30 using ::testing::StrictMock; | 30 using ::testing::StrictMock; |
31 | 31 |
32 class JsSyncManagerObserverTest : public testing::Test { | 32 class JsSyncManagerObserverTest : public testing::Test { |
33 protected: | 33 protected: |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 &trans, &changes[i], | 329 &trans, &changes[i], |
330 syncable::MODEL_TYPE_COUNT - i); | 330 syncable::MODEL_TYPE_COUNT - i); |
331 } | 331 } |
332 | 332 |
333 test_user_share.TearDown(); | 333 test_user_share.TearDown(); |
334 PumpLoop(); | 334 PumpLoop(); |
335 } | 335 } |
336 | 336 |
337 } // namespace | 337 } // namespace |
338 } // namespace browser_sync | 338 } // namespace browser_sync |
OLD | NEW |