// Copyright 2014 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_JAVASCRIPT_TEST_OBSERVER_H_ #define CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ #include <string> #include "base/memory/raw_ptr.h" #include "base/run_loop.h" #include "content/public/browser/web_contents_observer.h" namespace content { // Base class for handling a stream of automation messages produced by a // JavascriptTestObserver. class TestMessageHandler { … }; // This class captures a stream of automation messages coming from a Javascript // test and dispatches them to a message handler. class JavascriptTestObserver : public WebContentsObserver { … }; } // namespace content #endif // CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_