Index: chrome/test/chromedriver/commands.cc |
diff --git a/chrome/test/chromedriver/commands.cc b/chrome/test/chromedriver/commands.cc |
index 25a7d698647c40c425a005e160caf8015956c0db..6b7e247d6dd29eaaa0c4d57f1e009857c264a776 100644 |
--- a/chrome/test/chromedriver/commands.cc |
+++ b/chrome/test/chromedriver/commands.cc |
@@ -151,6 +151,10 @@ void ExecuteSessionCommandOnSessionThread( |
VLOG(0) << "COMMAND " << command_name << " " |
<< FormatValueForDisplay(*params); |
} |
+ |
+ // Notify |session|'s |CommandListener|s of the command. |
+ NotifySessionListenersBeforeCommand(session, command_name); |
+ |
scoped_ptr<base::Value> value; |
Status status = command.Run(session, *params, &value); |