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

Unified Diff: trunk/src/chrome/test/chromedriver/util.cc

Issue 392623005: Revert 283003 "[ChromeDriver] Subscribe PerformanceLogger to Com..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/chrome/test/chromedriver/util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/chromedriver/util.cc
===================================================================
--- trunk/src/chrome/test/chromedriver/util.cc (revision 283022)
+++ trunk/src/chrome/test/chromedriver/util.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/files/file_enumerator.h"
#include "base/files/scoped_temp_dir.h"
#include "base/format_macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/rand_util.h"
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
@@ -19,9 +18,7 @@
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/chrome/ui_events.h"
#include "chrome/test/chromedriver/chrome/web_view.h"
-#include "chrome/test/chromedriver/command_listener.h"
#include "chrome/test/chromedriver/key_converter.h"
-#include "chrome/test/chromedriver/session.h"
#include "third_party/zlib/google/zip.h"
std::string GenerateId() {
@@ -404,15 +401,3 @@
*file = first_file;
return Status(kOk);
}
-
-void NotifySessionListenersBeforeCommand(Session* session,
- const std::string& command_name) {
- for (ScopedVector<CommandListener>::const_iterator it =
- session->command_listeners.begin();
- it != session->command_listeners.end();
- ++it) {
- Status status = (*it)->BeforeCommand(command_name);
- if (status.IsError())
- LOG(ERROR) << "Error when notifying listener of command";
- }
-}
« no previous file with comments | « trunk/src/chrome/test/chromedriver/util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698