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

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

Issue 2379433002: [Sync] Refactoring of sync integration test checkers to remove boilerplate await methods. (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: chrome/browser/sync/test/integration/migration_waiter.h
diff --git a/chrome/browser/sync/test/integration/migration_waiter.h b/chrome/browser/sync/test/integration/migration_waiter.h
index 026bbb578f751ea037ef250f81ed292c51485da9..7e182700b3e713d236caaaaa63559d3bf1e817fe 100644
--- a/chrome/browser/sync/test/integration/migration_waiter.h
+++ b/chrome/browser/sync/test/integration/migration_waiter.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_MIGRATION_WAITER_H_
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_MIGRATION_WAITER_H_
+#include <string>
+
#include "base/macros.h"
#include "chrome/browser/sync/test/integration/status_change_checker.h"
#include "components/sync/base/model_type.h"
@@ -24,13 +26,10 @@ class MigrationWaiter : public StatusChangeChecker {
~MigrationWaiter() override;
- // Implementation of StatusChangeChecker.
+ // StatusChangeChecker implementation .
bool IsExitConditionSatisfied() override;
std::string GetDebugMessage() const override;
- // Function to trigger the waiting.
- void Wait();
-
// Callback invoked by our associated waiter when migration state changes.
void OnMigrationStateChange();
« no previous file with comments | « chrome/browser/sync/test/integration/migration_test.cc ('k') | chrome/browser/sync/test/integration/migration_waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698