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

Unified Diff: content/renderer/web_frame_utils.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/renderer/savable_resources_browsertest.cc ('k') | content/renderer/web_frame_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_frame_utils.h
diff --git a/content/renderer/web_frame_utils.h b/content/renderer/web_frame_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..73d188afe3ae578c7c25b44f499cffed6ada466d
--- /dev/null
+++ b/content/renderer/web_frame_utils.h
@@ -0,0 +1,20 @@
+// 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_RENDERER_WEB_FRAME_UTILS_H_
+#define CONTENT_RENDERER_WEB_FRAME_UTILS_H_
+
+namespace blink {
+class WebFrame;
+}
+
+namespace content {
+
+// Returns the routing ID of the RenderFrameImpl or RenderFrameProxy
+// associated with |web_frame|.
+int GetRoutingIdForFrameOrProxy(blink::WebFrame* web_frame);
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_WEB_FRAME_UTILS_H_
« no previous file with comments | « content/renderer/savable_resources_browsertest.cc ('k') | content/renderer/web_frame_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698