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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.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
Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.h
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
index b73b7189444621e1d9d237f8ff2ea62a0ff0d3bd..5c5f3c4ab4ebb159ccdcf79dfabf3c76643f8ba8 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
@@ -101,9 +101,11 @@ class WebNavigationTabObserver : public content::NotificationObserver,
// Creates and sends onErrorOccurred events for all on-going navigations. If
// |render_view_host| is non-NULL, only generates events for frames in this
- // render view host.
+ // render view host. If |id_to_skip| is given, no events are sent for that
+ // frame.
void SendErrorEvents(content::WebContents* web_contents,
- content::RenderViewHost* render_view_host);
+ content::RenderViewHost* render_view_host,
+ FrameNavigationState::FrameID id_to_skip);
// Tracks the state of the frames we are sending events for.
FrameNavigationState navigation_state_;

Powered by Google App Engine
This is Rietveld 408576698