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

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

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. Created 7 years, 9 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/stub_devtools_client.h ('k') | chrome/test/chromedriver/stub_web_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/stub_devtools_client.cc
diff --git a/chrome/test/chromedriver/stub_devtools_client.cc b/chrome/test/chromedriver/stub_devtools_client.cc
deleted file mode 100644
index 64f643ae647d2ca08f9a19e5a0ac8c541d5210fd..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/stub_devtools_client.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/test/chromedriver/stub_devtools_client.h"
-
-#include "base/values.h"
-#include "chrome/test/chromedriver/status.h"
-
-StubDevToolsClient::StubDevToolsClient() {}
-
-StubDevToolsClient::~StubDevToolsClient() {}
-
-Status StubDevToolsClient::ConnectIfNecessary() {
- return Status(kOk);
-}
-
-Status StubDevToolsClient::SendCommand(const std::string& method,
- const base::DictionaryValue& params) {
- scoped_ptr<base::DictionaryValue> result;
- return SendCommandAndGetResult(method, params, &result);
-}
-
-Status StubDevToolsClient::SendCommandAndGetResult(
- const std::string& method,
- const base::DictionaryValue& params,
- scoped_ptr<base::DictionaryValue>* result) {
- result->reset(new base::DictionaryValue());
- return Status(kOk);
-}
-
-void StubDevToolsClient::AddListener(DevToolsEventListener* listener) {
- listeners_.push_back(listener);
-}
-
-Status StubDevToolsClient::HandleEventsUntil(
- const ConditionalFunc& conditional_func) {
- return Status(kOk);
-}
« no previous file with comments | « chrome/test/chromedriver/stub_devtools_client.h ('k') | chrome/test/chromedriver/stub_web_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698