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

Unified Diff: content/shell/renderer/test_runner/web_test_runner.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 7 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 | « content/shell/renderer/test_runner/web_test_proxy.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_runner.h
diff --git a/content/shell/renderer/test_runner/web_test_runner.h b/content/shell/renderer/test_runner/web_test_runner.h
deleted file mode 100644
index b0984d5a9f2fc53f09cfd216eb225edb4bbac29b..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/web_test_runner.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_RUNNER_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_RUNNER_H_
-
-#include <vector>
-
-namespace blink {
-class WebContentSettingsClient;
-}
-
-namespace content {
-
-class WebTestRunner {
- public:
- // Returns a mock WebContentSettings that is used for layout tests. An
- // embedder should use this for all WebViews it creates.
- virtual blink::WebContentSettingsClient* GetWebContentSettings() const = 0;
-
- // After WebTestDelegate::TestFinished was invoked, the following methods
- // can be used to determine what kind of dump the main WebTestProxy can
- // provide.
-
- // If true, WebTestDelegate::audioData returns an audio dump and no text
- // or pixel results are available.
- virtual bool ShouldDumpAsAudio() const = 0;
- virtual void GetAudioData(std::vector<unsigned char>* buffer_view) const = 0;
-
- // Returns true if the call to WebTestProxy::captureTree will invoke
- // WebTestDelegate::captureHistoryForWindow.
- virtual bool ShouldDumpBackForwardList() const = 0;
-
- // Returns true if WebTestProxy::capturePixels should be invoked after
- // capturing text results.
- virtual bool ShouldGeneratePixelResults() = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_RUNNER_H_
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698