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

Unified Diff: components/test_runner/test_runner.cc

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 | « components/test_runner/test_runner.h ('k') | components/test_runner/test_runner.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
similarity index 99%
rename from content/shell/renderer/test_runner/test_runner.cc
rename to components/test_runner/test_runner.cc
index e32f79ec837cfcd6ee865f8162672da68cffddf9..5293d49377f303a5568a978dc877b27c8e1b8367 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/shell/renderer/test_runner/test_runner.h"
+#include "components/test_runner/test_runner.h"
#include <limits>
#include "base/logging.h"
-#include "content/shell/common/test_runner/test_preferences.h"
-#include "content/shell/renderer/test_runner/mock_credential_manager_client.h"
-#include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h"
-#include "content/shell/renderer/test_runner/test_interfaces.h"
-#include "content/shell/renderer/test_runner/web_content_settings.h"
-#include "content/shell/renderer/test_runner/web_test_delegate.h"
-#include "content/shell/renderer/test_runner/web_test_proxy.h"
+#include "components/test_runner/mock_credential_manager_client.h"
+#include "components/test_runner/mock_web_speech_recognizer.h"
+#include "components/test_runner/test_interfaces.h"
+#include "components/test_runner/test_preferences.h"
+#include "components/test_runner/web_content_settings.h"
+#include "components/test_runner/web_test_delegate.h"
+#include "components/test_runner/web_test_proxy.h"
#include "gin/arguments.h"
#include "gin/array_buffer.h"
#include "gin/handle.h"
@@ -970,7 +970,8 @@ void TestRunnerBindings::SetMockDeviceOrientation(gin::Arguments* args) {
has_absolute, absolute);
}
-void TestRunnerBindings::SetMockScreenOrientation(const std::string& orientation) {
+void TestRunnerBindings::SetMockScreenOrientation(
+ const std::string& orientation) {
if (!runner_)
return;
« no previous file with comments | « components/test_runner/test_runner.h ('k') | components/test_runner/test_runner.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698