0
Files
src/content/web_test/browser/mojo_web_test_helper.h
Alex Gough d7086ce3b0 Rename test helper mojoms in //content/test/data
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}
2024-12-12 09:04:27 -08:00

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_