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

Unified Diff: content/browser/download/mhtml_generation_manager.h

Issue 1417323006: OOPIFs: Deduplicating MHTML parts across frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-serialization-per-frame
Patch Set: Rebasing... Created 5 years 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/download/mhtml_generation_manager.h
diff --git a/content/browser/download/mhtml_generation_manager.h b/content/browser/download/mhtml_generation_manager.h
index db07312014184e4d1d6a974f0a33fc85808fcb6f..b4d3eee685a2200ffc0db49925235d07e8dd6aba 100644
--- a/content/browser/download/mhtml_generation_manager.h
+++ b/content/browser/download/mhtml_generation_manager.h
@@ -6,12 +6,14 @@
#define CONTENT_BROWSER_DOWNLOAD_MHTML_GENERATION_MANAGER_H_
#include <map>
+#include <set>
#include <string>
#include "base/files/file.h"
#include "base/memory/singleton.h"
#include "base/process/process.h"
#include "ipc/ipc_platform_file.h"
+#include "url/gurl.h"
namespace base {
class FilePath;
@@ -41,7 +43,8 @@ class MHTMLGenerationManager {
// Handler for ViewHostMsg_SavedPageAsMHTML (a notification from the renderer
// that the MHTML generation finished).
void OnSavedPageAsMHTML(int job_id,
- bool mhtml_generation_in_renderer_succeeded);
+ bool mhtml_generation_in_renderer_succeeded,
+ const std::set<GURL>& uris_of_generated_mhtml_parts);
private:
friend struct base::DefaultSingletonTraits<MHTMLGenerationManager>;

Powered by Google App Engine
This is Rietveld 408576698