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

Unified Diff: chrome/test/chromedriver/commands.cc

Issue 331943003: [ChromeDriver] Added CommandListener interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved PerformanceLogger to chromedriver/ Created 6 years, 6 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/test/chromedriver/command_listener.h ('k') | chrome/test/chromedriver/commands_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/commands.cc
diff --git a/chrome/test/chromedriver/commands.cc b/chrome/test/chromedriver/commands.cc
index 25a7d698647c40c425a005e160caf8015956c0db..91b9a8ae66706d5bc2c665f1810c7015abda5015 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 CommandListeners of the command
+ NotifySessionListenersBeforeCommand(session, command_name);
+
scoped_ptr<base::Value> value;
Status status = command.Run(session, *params, &value);
« no previous file with comments | « chrome/test/chromedriver/command_listener.h ('k') | chrome/test/chromedriver/commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698