BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / sync / test / integration / await_match_status_change_checker.cc
blob8ac12297b440755e4e27f1e77d2f6ad54a5f16c4
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/sync/test/integration/await_match_status_change_checker.h"
7 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
8 #include "chrome/browser/sync/test/integration/sync_test.h"
10 AwaitMatchStatusChangeChecker::AwaitMatchStatusChangeChecker(
11 const ExitConditionCallback& condition,
12 const std::string& debug_message)
13 : MultiClientStatusChangeChecker(
14 sync_datatype_helper::test()->GetSyncServices()),
15 condition_(condition),
16 debug_message_(debug_message) {
19 AwaitMatchStatusChangeChecker::~AwaitMatchStatusChangeChecker() {
22 bool AwaitMatchStatusChangeChecker::IsExitConditionSatisfied() {
23 return condition_.Run();
26 std::string AwaitMatchStatusChangeChecker::GetDebugMessage() const {
27 return "Waiting for: " + debug_message_;