| 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_PROFILE_SYNC_SERVICE_HARNESS_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // AwaitMigration(). | 352 // AwaitMigration(). |
| 353 syncable::ModelTypeSet migrated_types_; | 353 syncable::ModelTypeSet migrated_types_; |
| 354 | 354 |
| 355 // Used for logging. | 355 // Used for logging. |
| 356 const std::string profile_debug_name_; | 356 const std::string profile_debug_name_; |
| 357 | 357 |
| 358 // Keeps track of the number of attempts at exponential backoff and its | 358 // Keeps track of the number of attempts at exponential backoff and its |
| 359 // related bookkeeping information for verification. | 359 // related bookkeeping information for verification. |
| 360 browser_sync::RetryVerifier retry_verifier_; | 360 browser_sync::RetryVerifier retry_verifier_; |
| 361 | 361 |
| 362 // Flag set to true when we're waiting for a status change to happen. Used to |
| 363 // avoid triggering internal state machine logic on unexpected sync observer |
| 364 // callbacks. |
| 365 bool waiting_for_status_change_; |
| 366 |
| 362 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); | 367 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); |
| 363 }; | 368 }; |
| 364 | 369 |
| 365 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ | 370 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| OLD | NEW |