| 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "google_apis/gaia/gaia_constants.h" | 26 #include "google_apis/gaia/gaia_constants.h" |
| 27 #include "sync/js/js_arg_list.h" | 27 #include "sync/js/js_arg_list.h" |
| 28 #include "sync/js/js_event_details.h" | 28 #include "sync/js/js_event_details.h" |
| 29 #include "sync/js/js_test_util.h" | 29 #include "sync/js/js_test_util.h" |
| 30 #include "sync/notifier/fake_invalidation_handler.h" | 30 #include "sync/notifier/fake_invalidation_handler.h" |
| 31 #include "sync/notifier/invalidator.h" | 31 #include "sync/notifier/invalidator.h" |
| 32 #include "sync/notifier/invalidator_test_template.h" | 32 #include "sync/notifier/invalidator_test_template.h" |
| 33 #include "sync/notifier/object_id_state_map_test_util.h" | 33 #include "sync/notifier/object_id_state_map_test_util.h" |
| 34 #include "testing/gmock/include/gmock/gmock.h" | 34 #include "testing/gmock/include/gmock/gmock.h" |
| 35 #include "testing/gtest/include/gtest/gtest.h" | 35 #include "testing/gtest/include/gtest/gtest.h" |
| 36 #include "webkit/glue/webkit_glue.h" | 36 #include "webkit/user_agent/user_agent.h" |
| 37 | 37 |
| 38 // TODO(akalin): Add tests here that exercise the whole | 38 // TODO(akalin): Add tests here that exercise the whole |
| 39 // ProfileSyncService/SyncBackendHost stack while mocking out as | 39 // ProfileSyncService/SyncBackendHost stack while mocking out as |
| 40 // little as possible. | 40 // little as possible. |
| 41 | 41 |
| 42 namespace browser_sync { | 42 namespace browser_sync { |
| 43 | 43 |
| 44 namespace { | 44 namespace { |
| 45 | 45 |
| 46 using content::BrowserThread; | 46 using content::BrowserThread; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 namespace syncer { | 541 namespace syncer { |
| 542 namespace { | 542 namespace { |
| 543 | 543 |
| 544 // ProfileSyncService should behave just like an invalidator. | 544 // ProfileSyncService should behave just like an invalidator. |
| 545 INSTANTIATE_TYPED_TEST_CASE_P( | 545 INSTANTIATE_TYPED_TEST_CASE_P( |
| 546 ProfileSyncServiceInvalidatorTest, InvalidatorTest, | 546 ProfileSyncServiceInvalidatorTest, InvalidatorTest, |
| 547 ::browser_sync::ProfileSyncServiceInvalidatorTestDelegate); | 547 ::browser_sync::ProfileSyncServiceInvalidatorTestDelegate); |
| 548 | 548 |
| 549 } // namespace | 549 } // namespace |
| 550 } // namespace syncer | 550 } // namespace syncer |
| OLD | NEW |