Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1240)

Unified Diff: chrome/browser/sync/test/integration/preferences_helper.h

Issue 342853004: sync: Refactor TwoClientPreferencesSyncTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Un-disable verifier Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/preferences_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/preferences_helper.h
diff --git a/chrome/browser/sync/test/integration/preferences_helper.h b/chrome/browser/sync/test/integration/preferences_helper.h
index 569cc9c9a2b4720709d74d890c3baa9715e7994d..2ce9a17d6fdaf32e8fe872b679de7bdd7b0131e6 100644
--- a/chrome/browser/sync/test/integration/preferences_helper.h
+++ b/chrome/browser/sync/test/integration/preferences_helper.h
@@ -47,14 +47,6 @@ void ChangeStringPref(int index,
const char* pref_name,
const std::string& new_value);
-// Modifies the value of the string preference with name |pref_name| in the
-// profile with index |index| by appending |append_value| to its current
-// value. Also changes its value in |verifier| if DisableVerifier() hasn't
-// been called.
-void AppendStringPref(int index,
- const char* pref_name,
- const std::string& append_value);
-
// Changes the value of the file path preference with name |pref_name| in the
// profile with index |index| to |new_value|. Also changes its value in
// |verifier| if DisableVerifier() hasn't been called.
@@ -108,6 +100,18 @@ bool ListPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
// to match in all profiles. Returns false if this operation times out.
bool AwaitListPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
+// Blocks the test until the specified pref matches on all relevant clients or
+// a timeout occurs. Returns false if it returns because of a timeout.
+bool AwaitBooleanPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
+
+// Blocks the test until the specified pref matches on all relevant clients or
+// a timeout occurs. Returns false if it returns because of a timeout.
+bool AwaitIntegerPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
+
+// Blocks the test until the specified pref matches on all relevant clients or
+// a timeout occurs. Returns false if it returns because of a timeout.
+bool AwaitStringPrefMatches(const char* pref_name) WARN_UNUSED_RESULT;
+
} // namespace preferences_helper
#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PREFERENCES_HELPER_H_
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/preferences_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698