blob: dfe4f97b95f57f877202fb432c0e9d8a76d192d1 [file] [log] [blame]
// content/common/dom_automation_controller.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 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_COMMON_DOM_AUTOMATION_CONTROLLER_MOJOM_TEST_UTILS_H_
#define CONTENT_COMMON_DOM_AUTOMATION_CONTROLLER_MOJOM_TEST_UTILS_H_
#include "content/common/dom_automation_controller.mojom.h"
#include "content/common/content_export.h"
namespace content::mojom {
class CONTENT_EXPORT DomAutomationControllerHostInterceptorForTesting : public DomAutomationControllerHost {
virtual DomAutomationControllerHost* GetForwardingInterface() = 0;
void DomOperationResponse(const std::string& json_string) override;
};
class CONTENT_EXPORT DomAutomationControllerHostAsyncWaiter {
public:
explicit DomAutomationControllerHostAsyncWaiter(DomAutomationControllerHost* proxy);
DomAutomationControllerHostAsyncWaiter(const DomAutomationControllerHostAsyncWaiter&) = delete;
DomAutomationControllerHostAsyncWaiter& operator=(const DomAutomationControllerHostAsyncWaiter&) = delete;
~DomAutomationControllerHostAsyncWaiter();
private:
DomAutomationControllerHost* const proxy_;
};
} // content::mojom
#endif // CONTENT_COMMON_DOM_AUTOMATION_CONTROLLER_MOJOM_TEST_UTILS_H_