#include "third_party/blink/renderer/core/exported/web_frame_serializer_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_url.h"
#include "third_party/blink/public/web/web_frame_serializer.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/platform/mhtml/mhtml_archive.h"
#include "third_party/blink/renderer/platform/mhtml/mhtml_parser.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
namespace {
class SimpleMHTMLPartsGenerationDelegate
: public WebFrameSerializer::MHTMLPartsGenerationDelegate { … };
String GenerateMHTMLHelper(WebLocalFrameImpl* frame,
const bool only_body_parts,
const bool remove_popup_overlay) { … }
}
String WebFrameSerializerTestHelper::GenerateMHTML(WebLocalFrameImpl* frame) { … }
String WebFrameSerializerTestHelper::GenerateMHTMLParts(
WebLocalFrameImpl* frame) { … }
String WebFrameSerializerTestHelper::GenerateMHTMLWithPopupOverlayRemoved(
WebLocalFrameImpl* frame) { … }
}