| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "chrome/browser/sync/engine/syncapi.h" | 12 #include "chrome/browser/sync/engine/syncapi.h" |
| 13 #include "chrome/browser/sync/profile_sync_factory.h" | 13 #include "chrome/browser/sync/profile_sync_factory.h" |
| 14 #include "chrome/browser/sync/profile_sync_service.h" | 14 #include "chrome/browser/sync/profile_sync_service.h" |
| 15 #include "chrome/browser/sync/glue/data_type_controller.h" | 15 #include "chrome/browser/sync/glue/data_type_controller.h" |
| 16 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 16 #include "chrome/browser/sync/glue/data_type_manager_impl.h" |
| 17 #include "chrome/browser/sync/glue/sync_backend_host.h" | 17 #include "chrome/browser/sync/glue/sync_backend_host.h" |
| 18 #include "chrome/browser/sync/sessions/session_state.h" | 18 #include "chrome/browser/sync/sessions/session_state.h" |
| 19 #include "chrome/browser/sync/syncable/directory_manager.h" | 19 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 20 #include "chrome/browser/sync/syncable/syncable.h" | 20 #include "chrome/browser/sync/syncable/syncable.h" |
| 21 #include "chrome/common/notification_service.h" | |
| 22 #include "chrome/test/profile_mock.h" | 21 #include "chrome/test/profile_mock.h" |
| 23 #include "chrome/test/sync/test_http_bridge_factory.h" | 22 #include "chrome/test/sync/test_http_bridge_factory.h" |
| 24 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
| 25 | 24 |
| 26 class Profile; | 25 class Profile; |
| 27 | 26 |
| 28 using browser_sync::ModelSafeRoutingInfo; | 27 using browser_sync::ModelSafeRoutingInfo; |
| 29 using browser_sync::sessions::ErrorCounters; | 28 using browser_sync::sessions::ErrorCounters; |
| 30 using browser_sync::sessions::SyncerStatus; | 29 using browser_sync::sessions::SyncerStatus; |
| 31 using browser_sync::sessions::SyncSessionSnapshot; | 30 using browser_sync::sessions::SyncSessionSnapshot; |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 bool synchronous_sync_configuration_; | 256 bool synchronous_sync_configuration_; |
| 258 bool set_expect_resume_expectations_; | 257 bool set_expect_resume_expectations_; |
| 259 int num_expected_resumes_; | 258 int num_expected_resumes_; |
| 260 int num_expected_pauses_; | 259 int num_expected_pauses_; |
| 261 | 260 |
| 262 scoped_ptr<Task> initial_condition_setup_task_; | 261 scoped_ptr<Task> initial_condition_setup_task_; |
| 263 bool set_initial_sync_ended_on_init_; | 262 bool set_initial_sync_ended_on_init_; |
| 264 }; | 263 }; |
| 265 | 264 |
| 266 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 265 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |