[go: nahoru, domu]

blob: 01486faaa9952a6720b53de5727c673b5552a9ba [file] [log] [blame]
// Copyright 2022 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_TEST_TEST_PAGE_H_
#define CONTENT_TEST_TEST_PAGE_H_
#include <optional>
#include "content/browser/renderer_host/page_impl.h"
#include "url/gurl.h"
namespace content {
class PageDelegate;
class RenderFrameHostImpl;
class TestPage : public PageImpl {
public:
TestPage(RenderFrameHostImpl& rfh, PageDelegate& delegate);
TestPage(const TestPage&) = delete;
TestPage& operator=(const TestPage&) = delete;
~TestPage() override;
const std::optional<GURL>& GetManifestUrl() const override;
void UpdateManifestUrl(const GURL& manifest_url) override;
private:
std::optional<GURL> manifest_url_;
};
} // namespace content
#endif // CONTENT_TEST_TEST_PAGE_H_