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

Unified Diff: components/test_runner/renderer/web_test_proxy.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/test_runner/renderer/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/components/test_runner/renderer/web_test_proxy.h
similarity index 97%
rename from content/shell/renderer/test_runner/web_test_proxy.h
rename to components/test_runner/renderer/web_test_proxy.h
index 8d6bea88e8622d8131f51927dfc076a52ae4e885..286a6a92bd7753569c571d00119e8449ded298b4 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/components/test_runner/renderer/web_test_proxy.h
@@ -2,8 +2,8 @@
// 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_PROXY_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_
+#ifndef COMPONENTS_TEST_RUNNER_RENDERER_WEB_TEST_PROXY_H_
+#define COMPONENTS_TEST_RUNNER_RENDERER_WEB_TEST_PROXY_H_
#include <deque>
#include <map>
@@ -12,7 +12,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
-#include "content/shell/renderer/test_runner/web_task.h"
+#include "components/test_runner/renderer/web_task.h"
#include "third_party/WebKit/public/platform/WebImage.h"
#include "third_party/WebKit/public/platform/WebRect.h"
#include "third_party/WebKit/public/platform/WebScreenInfo.h"
@@ -377,8 +377,8 @@ class WebTestProxy : public Base, public WebTestProxyBase {
base::string16 wrapped_main_text = main_message;
base::string16 wrapped_sub_text = sub_message;
- Base::SetValidationMessageDirection(
- &wrapped_main_text, main_message_hint, &wrapped_sub_text, sub_message_hint);
+ Base::SetValidationMessageDirection(&wrapped_main_text, main_message_hint,
+ &wrapped_sub_text, sub_message_hint);
WebTestProxyBase::ShowValidationMessage(
wrapped_main_text, wrapped_sub_text);
@@ -398,4 +398,4 @@ class WebTestProxy : public Base, public WebTestProxyBase {
} // namespace content
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_
+#endif // COMPONENTS_TEST_RUNNER_RENDERER_WEB_TEST_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698