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_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
12 #include "components/sync/api/string_ordinal.h" | 12 #include "components/sync/model/string_ordinal.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 class SyncTest; | 15 class SyncTest; |
16 | 16 |
17 class SyncAppHelper { | 17 class SyncAppHelper { |
18 public: | 18 public: |
19 // Singleton implementation. | 19 // Singleton implementation. |
20 static SyncAppHelper* GetInstance(); | 20 static SyncAppHelper* GetInstance(); |
21 | 21 |
22 // Initializes the profiles in |test| and registers them with | 22 // Initializes the profiles in |test| and registers them with |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 SyncAppHelper(); | 58 SyncAppHelper(); |
59 ~SyncAppHelper(); | 59 ~SyncAppHelper(); |
60 | 60 |
61 bool setup_completed_; | 61 bool setup_completed_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper); | 63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
OLD | NEW |