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

Unified Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 2191543003: Remove existing FrameNavigationEntry when new named frame is added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/browser/frame_host/navigation_entry_impl.h
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
index 35603af62ed8e4891ecf8176d6e9ccb43e5f7f99..75c53076240fdf32003247eedfb53300b604e5b4 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -233,6 +233,10 @@ class CONTENT_EXPORT NavigationEntryImpl
// during session history navigations, when the child items no longer apply.
void ClearChildren(FrameTreeNode* frame_tree_node);
+ // Removes subframe FrameNavigationEntry matching the |frame_unique_name| and
Charlie Reis 2016/07/27 22:48:28 nit: Removes the nit: ... |frame_unique_name|, if
nasko 2016/07/29 15:52:22 What does documenting this here give us? It will b
Charlie Reis 2016/07/29 17:21:35 I think it matters for potential callers of the me
nasko 2016/08/01 20:42:15 Done.
+ // all of its children.
+ void ClearNamedFrameEntries(const std::string& frame_unique_name);
+
void set_unique_id(int unique_id) {
unique_id_ = unique_id;
}

Powered by Google App Engine
This is Rietveld 408576698