| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "sync/internal_api/public/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
| 14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | 14 #include "components/sync/sessions/sync_session_snapshot.h" |
| 15 | 15 |
| 16 class Profile; | 16 class Profile; |
| 17 class ProfileSyncService; | 17 class ProfileSyncService; |
| 18 | 18 |
| 19 namespace sync_driver { | 19 namespace sync_driver { |
| 20 class SyncSetupInProgressHandle; | 20 class SyncSetupInProgressHandle; |
| 21 } | 21 } |
| 22 | 22 |
| 23 // An instance of this class is basically our notion of a "sync client" for | 23 // An instance of this class is basically our notion of a "sync client" for |
| 24 // automation purposes. It harnesses the ProfileSyncService member of the | 24 // automation purposes. It harnesses the ProfileSyncService member of the |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 // all refresh tokens used in the tests are different. | 158 // all refresh tokens used in the tests are different. |
| 159 int oauth2_refesh_token_number_; | 159 int oauth2_refesh_token_number_; |
| 160 | 160 |
| 161 // Used for logging. | 161 // Used for logging. |
| 162 const std::string profile_debug_name_; | 162 const std::string profile_debug_name_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); | 164 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ | 167 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
| OLD | NEW |