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

Unified Diff: chrome/browser/automation/automation_tab_helper.cc

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/automation/automation_tab_helper.cc
===================================================================
--- chrome/browser/automation/automation_tab_helper.cc (revision 147723)
+++ chrome/browser/automation/automation_tab_helper.cc (working copy)
@@ -65,7 +65,8 @@
return is_loading_ || !pending_client_redirects_.empty();
}
-void AutomationTabHelper::DidStartLoading() {
+void AutomationTabHelper::DidStartLoading(
+ content::RenderViewHost* render_view_host) {
if (is_loading_) {
// DidStartLoading is often called twice. Once when the renderer sends a
// load start message, and once when the browser calls it directly as a
@@ -81,7 +82,8 @@
}
}
-void AutomationTabHelper::DidStopLoading() {
+void AutomationTabHelper::DidStopLoading(
+ content::RenderViewHost* render_view_host) {
if (!is_loading_) {
LOG(WARNING) << "Received DidStopLoading while loading already stopped.";
return;
« no previous file with comments | « chrome/browser/automation/automation_tab_helper.h ('k') | chrome/browser/automation/automation_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698