1 // Copyright 2013 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. 4 5 #include "chrome/browser/sync/test/integration/status_change_checker.h" 6 7 StatusChangeChecker::StatusChangeChecker( 8 StatusChangeCallback callback, 9 const std::string& callback_name) 10 : callback_(callback), 11 callback_name_(callback_name) { 12 } 13 14 StatusChangeChecker::~StatusChangeChecker() { 15 } 16 17 bool StatusChangeChecker::IsExitConditionSatisfied() { 18 return callback_.Run(); 19 } 20