
Bug: 383380971 Change-Id: I3ce0f503b2f765184cca8033ae5d73dc5a907de6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6089809 Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1395453}
33 lines
949 B
C++
33 lines
949 B
C++
// Copyright 2017 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_WEB_TEST_BROWSER_MOJO_WEB_TEST_HELPER_H_
|
|
#define CONTENT_WEB_TEST_BROWSER_MOJO_WEB_TEST_HELPER_H_
|
|
|
|
#include <string>
|
|
|
|
#include "content/test/data/mojo_web_test_helper.test-mojom.h"
|
|
#include "mojo/public/cpp/bindings/pending_receiver.h"
|
|
|
|
namespace content {
|
|
|
|
class MojoWebTestHelper : public mojom::MojoWebTestHelper {
|
|
public:
|
|
MojoWebTestHelper();
|
|
|
|
MojoWebTestHelper(const MojoWebTestHelper&) = delete;
|
|
MojoWebTestHelper& operator=(const MojoWebTestHelper&) = delete;
|
|
|
|
~MojoWebTestHelper() override;
|
|
|
|
static void Create(mojo::PendingReceiver<mojom::MojoWebTestHelper> receiver);
|
|
|
|
// mojom::MojoWebTestHelper:
|
|
void Reverse(const std::string& message, ReverseCallback callback) override;
|
|
};
|
|
|
|
} // namespace content
|
|
|
|
#endif // CONTENT_WEB_TEST_BROWSER_MOJO_WEB_TEST_HELPER_H_
|