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

Unified Diff: content/common/savable_subframe.h

Issue 1422473004: Vector-of-structs (instead of struct-of-vectors) in "savable resources" IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-original-url-yay
Patch Set: Rebasing... Created 5 years, 1 month 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 | « content/common/frame_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/savable_subframe.h
diff --git a/content/common/savable_subframe.h b/content/common/savable_subframe.h
new file mode 100644
index 0000000000000000000000000000000000000000..ec7f572b64279c8800d746b92914f52317ede130
--- /dev/null
+++ b/content/common/savable_subframe.h
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_SAVABLE_SUBFRAME_H_
+#define CONTENT_COMMON_SAVABLE_SUBFRAME_H_
+
+#include "url/gurl.h"
+
+namespace content {
+
+// Information about a subframe being saved as "complete html".
+struct SavableSubframe {
+ // Original url of the subframe (i.e. based the parent's html sources).
+ GURL original_url;
+
+ // Routing ID of the RenderFrame or RenderFrameProxy for the subframe.
+ int routing_id;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_SAVABLE_SUBFRAME_H_
« no previous file with comments | « content/common/frame_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698