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 #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 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 virtual void CreateBackend() OVERRIDE; | 109 virtual void CreateBackend() OVERRIDE; |
110 | 110 |
111 private: | 111 private: |
112 csync::TestIdFactory id_factory_; | 112 csync::TestIdFactory id_factory_; |
113 | 113 |
114 bool synchronous_backend_initialization_; | 114 bool synchronous_backend_initialization_; |
115 | 115 |
116 // Set to true when a mock data type manager is being used and the configure | 116 // Set to true when a mock data type manager is being used and the configure |
117 // step is performed synchronously. | 117 // step is performed synchronously. |
118 bool synchronous_sync_configuration_; | 118 bool synchronous_sync_configuration_; |
119 bool set_expect_resume_expectations_; | |
120 | 119 |
121 base::Closure callback_; | 120 base::Closure callback_; |
122 bool set_initial_sync_ended_on_init_; | 121 bool set_initial_sync_ended_on_init_; |
123 | 122 |
124 bool fail_initial_download_; | 123 bool fail_initial_download_; |
125 bool use_real_database_; | 124 bool use_real_database_; |
126 }; | 125 }; |
127 | 126 |
128 | 127 |
129 | 128 |
130 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ | 129 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ |
OLD | NEW |