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

Unified Diff: chrome/browser/extensions/api/web_navigation/frame_navigation_state.h

Issue 10834125: When committing a provisional load that didn't change the RVH, still abort pending navigations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
diff --git a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
index c63584ab6edc9bdccfacff21ba9a1ca803c64d00..21c63b3b707937649bc89f8ce896f2e9c62278c2 100644
--- a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
+++ b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
@@ -57,8 +57,10 @@ class FrameNavigationState {
bool is_main_frame,
bool is_error_page);
- // Stops tracking all frames for a given RenderViewHost.
- void StopTrackingFramesInRVH(content::RenderViewHost* render_view_host);
+ // Stops tracking all frames but the frame with |id_to_skip| for a given
+ // RenderViewHost.
+ void StopTrackingFramesInRVH(content::RenderViewHost* render_view_host,
+ FrameID id_to_skip);
// Update the URL associated with a given frame.
void UpdateFrame(FrameID frame_id, const GURL& url);
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698