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

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

Issue 5998006: Clean up Automation and Chrome Frame IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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_provider.cc
===================================================================
--- chrome/browser/automation/automation_provider.cc (revision 69966)
+++ chrome/browser/automation/automation_provider.cc (working copy)
@@ -161,7 +161,7 @@
channel_->AddFilter(automation_resource_message_filter_);
// Send a hello message with our current automation protocol version.
- channel_->Send(new AutomationMsg_Hello(0, GetProtocolVersion().c_str()));
+ channel_->Send(new AutomationMsg_Hello(GetProtocolVersion().c_str()));
TRACE_EVENT_END("AutomationProvider::ConnectToChannel", 0, "");
}
@@ -173,7 +173,7 @@
void AutomationProvider::SetExpectedTabCount(size_t expected_tabs) {
if (expected_tabs == 0) {
- Send(new AutomationMsg_InitialLoadsComplete(0));
+ Send(new AutomationMsg_InitialLoadsComplete());
} else {
initial_load_observer_.reset(new InitialLoadObserver(expected_tabs, this));
}
« no previous file with comments | « chrome/browser/automation/automation_provider.h ('k') | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698