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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2379823003: Move MHTML file writing out of the renderer main thread. (Closed)
Patch Set: A few move semantics fixes (I think). Created 4 years, 2 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 58b4b93db25272585d5e2326ddbad736044d9f4a..2782a9923307247a8b8fd38d878ec2d5b014610e 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') | third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698