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 "chrome/browser/sync/syncable/model_type.h" | 18 #include "sync/syncable/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 struct SyncSessionSnapshot; | 24 struct 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); | 362 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); |
363 }; | 363 }; |
364 | 364 |
365 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ | 365 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_HARNESS_H_ |
OLD | NEW |