| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/api/sync/profile_sync_service_observer.h" |
| 13 #include "chrome/browser/sync/backend_migrator.h" | 14 #include "chrome/browser/sync/backend_migrator.h" |
| 14 #include "chrome/browser/sync/profile_sync_service.h" | 15 #include "chrome/browser/sync/profile_sync_service.h" |
| 15 #include "chrome/browser/sync/profile_sync_service_observer.h" | |
| 16 #include "chrome/browser/sync/retry_verifier.h" | 16 #include "chrome/browser/sync/retry_verifier.h" |
| 17 #include "sync/internal_api/public/base/model_type.h" | 17 #include "sync/internal_api/public/base/model_type.h" |
| 18 | 18 |
| 19 class Profile; | 19 class Profile; |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 namespace sessions { | 22 namespace sessions { |
| 23 class SyncSessionSnapshot; | 23 class SyncSessionSnapshot; |
| 24 } | 24 } |
| 25 } | 25 } |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 | 360 |
| 361 // Flag set to true when we're waiting for a status change to happen. Used to | 361 // Flag set to true when we're waiting for a status change to happen. Used to |
| 362 // avoid triggering internal state machine logic on unexpected sync observer | 362 // avoid triggering internal state machine logic on unexpected sync observer |
| 363 // callbacks. | 363 // callbacks. |
| 364 bool waiting_for_status_change_; | 364 bool waiting_for_status_change_; |
| 365 | 365 |
| 366 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); | 366 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); |
| 367 }; | 367 }; |
| 368 | 368 |
| 369 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ | 369 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| OLD | NEW |