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

Unified Diff: chrome/test/automation/extension_proxy.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
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/extension_proxy.cc
===================================================================
--- chrome/test/automation/extension_proxy.cc (revision 69966)
+++ chrome/test/automation/extension_proxy.cc (working copy)
@@ -21,8 +21,7 @@
return false;
bool success = false;
- if (!sender_->Send(new AutomationMsg_UninstallExtension(0, handle_,
- &success)))
+ if (!sender_->Send(new AutomationMsg_UninstallExtension(handle_, &success)))
return false;
return success;
}
@@ -32,8 +31,7 @@
return false;
bool success = false;
- if (!sender_->Send(new AutomationMsg_EnableExtension(0, handle_,
- &success)))
+ if (!sender_->Send(new AutomationMsg_EnableExtension(handle_, &success)))
return false;
return success;
}
@@ -43,8 +41,7 @@
return false;
bool success = false;
- if (!sender_->Send(new AutomationMsg_DisableExtension(0, handle_,
- &success)))
+ if (!sender_->Send(new AutomationMsg_DisableExtension(handle_, &success)))
return false;
return success;
}
@@ -55,7 +52,7 @@
bool success = false;
if (!sender_->Send(new AutomationMsg_ExecuteExtensionActionInActiveTabAsync(
- 0, handle_, browser->handle(), &success)))
+ handle_, browser->handle(), &success)))
return false;
return success;
}
@@ -65,8 +62,7 @@
return false;
bool success = false;
if (!sender_->Send(
- new AutomationMsg_MoveExtensionBrowserAction(0, handle_, index,
- &success)))
+ new AutomationMsg_MoveExtensionBrowserAction(handle_, index, &success)))
return false;
return success;
}
@@ -135,7 +131,7 @@
return false;
bool success = false;
- if (!sender_->Send(new AutomationMsg_GetExtensionProperty(0, handle_, type,
+ if (!sender_->Send(new AutomationMsg_GetExtensionProperty(handle_, type,
&success, value)))
return false;
return success;
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698