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

Side by Side Diff: content/browser/download/mhtml_generation_manager.cc

Issue 1541463002: Rename [Web]PageSerializer[Test|Client|Impl] to ...FrameSerializer... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-deduplication-of-resources
Patch Set: Rebasing... Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/download/mhtml_generation_manager.h" 5 #include "content/browser/download/mhtml_generation_manager.h"
6 6
7 #include <map> 7 #include <map>
8 #include <queue> 8 #include <queue>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 std::queue<int> pending_frame_tree_node_ids_; 90 std::queue<int> pending_frame_tree_node_ids_;
91 91
92 // Identifies a frame to which we've sent FrameMsg_SerializeAsMHTML but for 92 // Identifies a frame to which we've sent FrameMsg_SerializeAsMHTML but for
93 // which we didn't yet process FrameHostMsg_SerializeAsMHTMLResponse via 93 // which we didn't yet process FrameHostMsg_SerializeAsMHTMLResponse via
94 // OnSerializeAsMHTMLResponse. 94 // OnSerializeAsMHTMLResponse.
95 int frame_tree_node_id_of_busy_frame_; 95 int frame_tree_node_id_of_busy_frame_;
96 96
97 // The handle to the file the MHTML is saved to for the browser process. 97 // The handle to the file the MHTML is saved to for the browser process.
98 base::File browser_file_; 98 base::File browser_file_;
99 99
100 // Map from frames into content ids (see WebPageSerializer::generateMHTMLParts 100 // Map from frames to content ids (see WebFrameSerializer::generateMHTMLParts
101 // for more details about what "content ids" are and how they are used). 101 // for more details about what "content ids" are and how they are used).
102 std::map<int, std::string> frame_tree_node_to_content_id_; 102 std::map<int, std::string> frame_tree_node_to_content_id_;
103 103
104 // MIME multipart boundary to use in the MHTML doc. 104 // MIME multipart boundary to use in the MHTML doc.
105 std::string mhtml_boundary_marker_; 105 std::string mhtml_boundary_marker_;
106 106
107 // Digests of URIs of already generated MHTML parts. 107 // Digests of URIs of already generated MHTML parts.
108 std::set<std::string> digests_of_already_serialized_uris_; 108 std::set<std::string> digests_of_already_serialized_uris_;
109 std::string salt_; 109 std::string salt_;
110 110
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 ++it) { 444 ++it) {
445 if (it->second == job) { 445 if (it->second == job) {
446 JobFinished(it->first, JobStatus::FAILURE); 446 JobFinished(it->first, JobStatus::FAILURE);
447 return; 447 return;
448 } 448 }
449 } 449 }
450 NOTREACHED(); 450 NOTREACHED();
451 } 451 }
452 452
453 } // namespace content 453 } // namespace content
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/filter/webkit_unit_tests_disabled ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698