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

Unified Diff: chrome/common/automation_messages.cc

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup per kkania. Created 9 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
« no previous file with comments | « chrome/common/automation_messages.h ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_messages.cc
diff --git a/chrome/common/automation_messages.cc b/chrome/common/automation_messages.cc
index 39420cd12ff53fcde0f5785c24073b70e2985cf7..2c79dd3826cb81ebd89a3de0142ea2248d0ca5f4 100644
--- a/chrome/common/automation_messages.cc
+++ b/chrome/common/automation_messages.cc
@@ -259,45 +259,6 @@ void ParamTraits<AutomationMsg_NavigationResponseValues>::Log(
}
// static
-void ParamTraits<AutomationMsg_ExtensionResponseValues>::Write(
- Message* m,
- const param_type& p) {
- m->WriteInt(p);
-}
-
-// static
-bool ParamTraits<AutomationMsg_ExtensionResponseValues>::Read(
- const Message* m,
- void** iter,
- param_type* p) {
- int type;
- if (!m->ReadInt(iter, &type))
- return false;
- *p = static_cast<AutomationMsg_ExtensionResponseValues>(type);
- return true;
-}
-
-// static
-void ParamTraits<AutomationMsg_ExtensionResponseValues>::Log(
- const param_type& p,
- std::string* l) {
- std::string control;
- switch (p) {
- case AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED:
- control = "AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED";
- break;
- case AUTOMATION_MSG_EXTENSION_INSTALL_FAILED:
- control = "AUTOMATION_MSG_EXTENSION_INSTALL_FAILED";
- break;
- default:
- control = "UNKNOWN";
- break;
- }
-
- LogParam(control, l);
-}
-
-// static
void ParamTraits<AutomationMsg_ExtensionProperty>::Write(Message* m,
const param_type& p) {
m->WriteInt(p);
« no previous file with comments | « chrome/common/automation_messages.h ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698