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/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
13 #include "sync/internal_api/public/base/model_type.h" | 13 #include "sync/internal_api/public/base/model_type.h" |
14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | 14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 class ProfileSyncService; | 17 class ProfileSyncService; |
18 | 18 |
19 // An instance of this class is basically our notion of a "sync client" for | 19 // An instance of this class is basically our notion of a "sync client" for |
20 // automation purposes. It harnesses the ProfileSyncService member of the | 20 // automation purposes. It harnesses the ProfileSyncService member of the |
21 // profile passed to it on construction and automates certain things like setup | 21 // profile passed to it on construction and automates certain things like setup |
22 // and authentication. It provides ways to "wait" adequate periods of time for | 22 // and authentication. It provides ways to "wait" adequate periods of time for |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // all refresh tokens used in the tests are different. | 151 // all refresh tokens used in the tests are different. |
152 int oauth2_refesh_token_number_; | 152 int oauth2_refesh_token_number_; |
153 | 153 |
154 // Used for logging. | 154 // Used for logging. |
155 const std::string profile_debug_name_; | 155 const std::string profile_debug_name_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); | 157 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceHarness); |
158 }; | 158 }; |
159 | 159 |
160 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ | 160 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
OLD | NEW |