// 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_PUBLIC_BROWSER_MHTML_EXTRA_PARTS_H_ #define CONTENT_PUBLIC_BROWSER_MHTML_EXTRA_PARTS_H_ #include "base/supports_user_data.h" #include "content/common/content_export.h" #include "content/public/browser/web_contents.h" namespace content { // Interface class for adding an extra part to MHTML when doing MHTML // generation. To use it, get it from the web contents with FromWebContents, // then call AddExtraMHTMLPart to add a new part. class CONTENT_EXPORT MHTMLExtraParts : public base::SupportsUserData::Data { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_MHTML_EXTRA_PARTS_H_