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_PREFERENCES_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke
r.h" | 16 #include "chrome/browser/sync/test/integration/status_change_checker.h" |
17 | 17 |
18 class PrefChangeRegistrar; | 18 class PrefChangeRegistrar; |
19 class PrefService; | 19 class PrefService; |
20 | 20 |
21 namespace preferences_helper { | 21 namespace preferences_helper { |
22 | 22 |
23 // Used to access the preferences within a particular sync profile. | 23 // Used to access the preferences within a particular sync profile. |
24 PrefService* GetPrefs(int index); | 24 PrefService* GetPrefs(int index); |
25 | 25 |
26 // Used to access the preferences within the verifier sync profile. | 26 // Used to access the preferences within the verifier sync profile. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // Matcher that blocks until the specified string pref matches on all clients. | 154 // Matcher that blocks until the specified string pref matches on all clients. |
155 class StringPrefMatchChecker : public PrefMatchChecker { | 155 class StringPrefMatchChecker : public PrefMatchChecker { |
156 public: | 156 public: |
157 explicit StringPrefMatchChecker(const char* path); | 157 explicit StringPrefMatchChecker(const char* path); |
158 | 158 |
159 // PrefMatchChecker implementation. | 159 // PrefMatchChecker implementation. |
160 bool IsExitConditionSatisfied() override; | 160 bool IsExitConditionSatisfied() override; |
161 }; | 161 }; |
162 | 162 |
163 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_ | 163 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_ |
OLD | NEW |