// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_OBSERVER_H_ #define CHROME_BROWSER_INFOBARS_INFOBAR_OBSERVER_H_ #include "base/run_loop.h" #include "base/scoped_observation.h" #include "components/infobars/core/infobar_manager.h" // A test-only class to wait for infobar events. class InfoBarObserver : public infobars::InfoBarManager::Observer { … }; #endif // CHROME_BROWSER_INFOBARS_INFOBAR_OBSERVER_H_