1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
content / public / common / mhtml_generation_params.h [blame]
// Copyright 2016 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_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_
#define CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_
#include "base/files/file_path.h"
#include "content/common/content_export.h"
namespace content {
struct CONTENT_EXPORT MHTMLGenerationParams {
MHTMLGenerationParams(const base::FilePath& file_path);
~MHTMLGenerationParams() = default;
// The file that will contain the generated MHTML.
base::FilePath file_path;
// If true, a Content-Transfer-Encoding value of 'binary' will be used,
// instead of a combination of 'quoted-printable' and 'base64'. Binary
// encoding is known to have interoperability issues and is not the
// recommended encoding for shareable content. See
// https://tools.ietf.org/html/rfc2045 for details about
// Content-Transfer-Encoding.
bool use_binary_encoding = false;
// Removes popups that could obstruct the user's view of normal content.
bool remove_popup_overlay = false;
};
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_