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 #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/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "chrome/browser/sync/glue/data_type_manager_impl.h" | 12 #include "chrome/browser/sync/glue/data_type_manager_impl.h" |
13 #include "chrome/browser/sync/profile_sync_service.h" | 13 #include "chrome/browser/sync/profile_sync_service.h" |
| 14 #include "chrome/browser/sync/test/engine/test_id_factory.h" |
14 #include "chrome/test/base/profile_mock.h" | 15 #include "chrome/test/base/profile_mock.h" |
15 #include "chrome/test/sync/engine/test_id_factory.h" | |
16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 class Task; | 19 class Task; |
20 class TestProfileSyncService; | 20 class TestProfileSyncService; |
21 | 21 |
22 ACTION(ReturnNewDataTypeManager) { | 22 ACTION(ReturnNewDataTypeManager) { |
23 return new browser_sync::DataTypeManagerImpl(arg0, arg1); | 23 return new browser_sync::DataTypeManagerImpl(arg0, arg1); |
24 } | 24 } |
25 | 25 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 Task* initial_condition_setup_task_; | 114 Task* initial_condition_setup_task_; |
115 bool set_initial_sync_ended_on_init_; | 115 bool set_initial_sync_ended_on_init_; |
116 | 116 |
117 bool fail_initial_download_; | 117 bool fail_initial_download_; |
118 }; | 118 }; |
119 | 119 |
120 | 120 |
121 | 121 |
122 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 122 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |