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

Unified Diff: chrome/browser/background/background_contents.cc

Issue 1008913002: Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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/background/background_contents.cc
diff --git a/chrome/browser/background/background_contents.cc b/chrome/browser/background/background_contents.cc
index 4f65a1322618fda5076c58c25487cdec26f6a828..f17f863f92bd6d74870712c68165bcf4b8606fa0 100644
--- a/chrome/browser/background/background_contents.cc
+++ b/chrome/browser/background/background_contents.cc
@@ -162,8 +162,7 @@ void BackgroundContents::RenderProcessGone(base::TerminationStatus status) {
delete this;
}
-void BackgroundContents::DidStartLoading(
- content::RenderViewHost* render_view_host) {
+void BackgroundContents::DidStartLoading() {
// BackgroundContents only loads once, so this can only be the first time it
// has started loading.
FOR_EACH_OBSERVER(extensions::DeferredStartRenderHostObserver,
@@ -171,8 +170,7 @@ void BackgroundContents::DidStartLoading(
OnDeferredStartRenderHostDidStartFirstLoad(this));
}
-void BackgroundContents::DidStopLoading(
- content::RenderViewHost* render_view_host) {
+void BackgroundContents::DidStopLoading() {
// BackgroundContents only loads once, so this can only be the first time
// it has stopped loading.
FOR_EACH_OBSERVER(extensions::DeferredStartRenderHostObserver,
« no previous file with comments | « chrome/browser/background/background_contents.h ('k') | chrome/browser/captive_portal/captive_portal_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698