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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2379823003: Move MHTML file writing out of the renderer main thread. (Closed)
Patch Set: Fixed logic bug. Created 4 years, 3 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 9523dbc4a089b87782057af8c1834e5cafadc8e2..b89ce701bbd695a94f3a4bdb053af50e380e3079 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -870,6 +870,14 @@ class CONTENT_EXPORT RenderFrameImpl
void OnCopyToFindPboard();
#endif
+ // Callback scheduled from OnSerializeAsMHTML for when writing serialized
+ // MHTML to file has been completed in the file thread.
+ void OnWriteMHTMLToDiskComplete(
+ int job_id,
+ std::set<std::string> serialized_resources_uri_digests,
+ base::TimeDelta main_thread_use_time,
+ bool success);
+
// Requests that the browser process navigates to |url|. If
// |is_history_navigation_in_new_child| is true, the browser process should
// look for a matching FrameNavigationEntry in the last committed entry to use
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698