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

Unified Diff: chrome/test/chromedriver/stub_chrome.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_chrome.h ('k') | chrome/test/chromedriver/stub_devtools_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/stub_chrome.cc
diff --git a/chrome/test/chromedriver/stub_chrome.cc b/chrome/test/chromedriver/stub_chrome.cc
deleted file mode 100644
index 034d2f65cda7629e4bfbbe541b4fa22fbdfe13b1..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/stub_chrome.cc
+++ /dev/null
@@ -1,41 +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_chrome.h"
-#include "chrome/test/chromedriver/status.h"
-#include "chrome/test/chromedriver/web_view.h"
-
-StubChrome::StubChrome() {}
-
-StubChrome::~StubChrome() {}
-
-std::string StubChrome::GetVersion() {
- return "";
-}
-
-Status StubChrome::GetWebViews(std::list<WebView*>* web_views) {
- return Status(kOk);
-}
-
-Status StubChrome::IsJavaScriptDialogOpen(bool* is_open) {
- return Status(kOk);
-}
-
-Status StubChrome::GetJavaScriptDialogMessage(std::string* message) {
- return Status(kOk);
-}
-
-Status StubChrome::HandleJavaScriptDialog(
- bool accept,
- const std::string& prompt_text) {
- return Status(kOk);
-}
-
-std::string StubChrome::GetOperatingSystemName() {
- return "";
-}
-
-Status StubChrome::Quit() {
- return Status(kOk);
-}
« no previous file with comments | « chrome/test/chromedriver/stub_chrome.h ('k') | chrome/test/chromedriver/stub_devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698