Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work on compile. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 45d8ca0cffc75a6862df86dcbaef4b24a71fe007..e93eb6160585ef06902bc330d784f0687cefea4d 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -11,6 +11,7 @@
#include <map>
#include <set>
#include <string>
+#include <type_traits>
Łukasz Anforowicz 2016/05/12 18:56:49 I don't think this is needed?
dewittj 2016/05/12 22:58:01 Done.
#include <vector>
#include "base/callback.h"
@@ -36,6 +37,7 @@
#include "content/common/navigation_params.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/javascript_message_type.h"
+#include "content/public/common/mhtml_generation.h"
#include "net/http/http_response_headers.h"
#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
@@ -666,7 +668,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
void OnDidChangeLoadProgress(double load_progress);
void OnSerializeAsMHTMLResponse(
int job_id,
- bool success,
+ MHTMLSerializationResult result,
const std::set<std::string>& digests_of_uris_of_serialized_resources);
#if defined(OS_MACOSX) || defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698