chromium/content/public/test/test_web_ui_listener_observer.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_TEST_TEST_WEB_UI_LISTENER_OBSERVER_H_
#define CONTENT_PUBLIC_TEST_TEST_WEB_UI_LISTENER_OBSERVER_H_

#include <string>
#include <vector>

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/values.h"
#include "content/public/test/test_web_ui.h"

namespace content {

// A test observer that allows blocking waits on WebUI calls back to javascript
// listeners using cr.webUIListenerCallback.
class TestWebUIListenerObserver : public TestWebUI::JavascriptCallObserver {};

}  // namespace content

#endif  // CONTENT_PUBLIC_TEST_TEST_WEB_UI_LISTENER_OBSERVER_H_