| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" | 10 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 bool use_binary_encoding = false; | 24 bool use_binary_encoding = false; |
| 25 | 25 |
| 26 // By default, MHTML includes all subresources. This flag can be used to | 26 // By default, MHTML includes all subresources. This flag can be used to |
| 27 // cause the generator to fail or silently ignore resources if the | 27 // cause the generator to fail or silently ignore resources if the |
| 28 // Cache-Control header is used. | 28 // Cache-Control header is used. |
| 29 blink::WebFrameSerializerCacheControlPolicy cache_control_policy = | 29 blink::WebFrameSerializerCacheControlPolicy cache_control_policy = |
| 30 blink::WebFrameSerializerCacheControlPolicy::kNone; | 30 blink::WebFrameSerializerCacheControlPolicy::kNone; |
| 31 | 31 |
| 32 // Removes popups that could obstruct the user's view of normal content. | 32 // Removes popups that could obstruct the user's view of normal content. |
| 33 bool remove_popup_overlay = false; | 33 bool remove_popup_overlay = false; |
| 34 |
| 35 // Run page problem detectors while generating MTHML if true. |
| 36 bool use_page_problem_detectors = false; |
| 34 }; | 37 }; |
| 35 | 38 |
| 36 } // namespace content | 39 } // namespace content |
| 37 | 40 |
| 38 #endif // CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ | 41 #endif // CONTENT_PUBLIC_COMMON_MHTML_GENERATION_PARAMS_H_ |
| OLD | NEW |