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

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

Issue 331943003: [ChromeDriver] Added CommandListener interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/test/chromedriver/command_listener.cc
diff --git a/sync/engine/commit_contribution.cc b/chrome/test/chromedriver/command_listener.cc
similarity index 52%
copy from sync/engine/commit_contribution.cc
copy to chrome/test/chromedriver/command_listener.cc
index cef02b57b9021598370cc9e7554ab15042a9489a..80437b97bf0cff5f3db39f99a23383764acde8b9 100644
--- a/sync/engine/commit_contribution.cc
+++ b/chrome/test/chromedriver/command_listener.cc
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/engine/commit_contribution.h"
+#include "chrome/test/chromedriver/command_listener.h"
+#include "chrome/test/chromedriver/chrome/status.h"
-namespace syncer {
+CommandListener::~CommandListener() {}
-CommitContribution::CommitContribution() {}
-
-CommitContribution::~CommitContribution() {}
-
-} // namespace syncer
+Status CommandListener::OnCommand(const std::string& command_name) {
stgao 2014/06/15 23:54:40 I think this default implementation file could be
klm 2014/06/16 16:11:29 +1 -- pure virtual, just like other interfaces, e.
+ return Status(kOk);
+}

Powered by Google App Engine
This is Rietveld 408576698