summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/external_tab_container.cc3
-rw-r--r--chrome/test/automation/automation_messages_internal.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index d2c6040..be8cbdc 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -297,7 +297,8 @@ void ExternalTabContainer::Observe(NotificationType type,
automation_->Send(new AutomationMsg_DidNavigate(
0, commit->type,
commit->previous_entry_index -
- tab_contents_->controller()->GetLastCommittedEntryIndex()));
+ tab_contents_->controller()->GetLastCommittedEntryIndex(),
+ commit->entry->url()));
}
}
break;
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 96c779a..8fb532d 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -573,7 +573,7 @@ IPC_BEGIN_MESSAGES(Automation)
// and 0 means this was a redirect
// Response:
// None expected
- IPC_MESSAGE_ROUTED2(AutomationMsg_DidNavigate, int, int)
+ IPC_MESSAGE_ROUTED3(AutomationMsg_DidNavigate, int, int, GURL)
// This message requests the different security states of the page displayed
// in the specified tab.