#include "components/pdf/browser/fake_pdf_stream_delegate.h"
#include <optional>
#include <utility>
#include "components/pdf/browser/pdf_stream_delegate.h"
#include "content/public/browser/navigation_handle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "url/gurl.h"
namespace pdf {
constexpr char FakePdfStreamDelegate::kDefaultStreamUrl[];
constexpr char FakePdfStreamDelegate::kDefaultOriginalUrl[];
FakePdfStreamDelegate::FakePdfStreamDelegate() { … }
FakePdfStreamDelegate::~FakePdfStreamDelegate() = default;
std::optional<GURL> FakePdfStreamDelegate::MapToOriginalUrl(
content::NavigationHandle& navigation_handle) { … }
std::optional<PdfStreamDelegate::StreamInfo>
FakePdfStreamDelegate::GetStreamInfo(content::RenderFrameHost* embedder_frame) { … }
void FakePdfStreamDelegate::OnPdfEmbedderSandboxed(int frame_tree_node_id) { … }
bool FakePdfStreamDelegate::ShouldAllowPdfFrameNavigation(
content::NavigationHandle* navigation_handle) { … }
}