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

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: Created 5 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/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"
+
ncarter (slow) 2015/10/28 22:28:38 This file needs to be added to content_common.gypi
Łukasz Anforowicz 2015/10/28 23:12:06 Done.
+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_

Powered by Google App Engine
This is Rietveld 408576698