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