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

Unified Diff: content/shell/browser/layout_test/layout_test_browser_main.cc

Issue 1128633002: content: Rename WebKitTestController to BlinkTestController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang-format 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: content/shell/browser/layout_test/layout_test_browser_main.cc
diff --git a/content/shell/browser/layout_test/layout_test_browser_main.cc b/content/shell/browser/layout_test/layout_test_browser_main.cc
index a6d90aa44a849084a8941c63384df8b0b0c890c4..b83d24839617b5538e9bd7d2ac92b886e0c54214 100644
--- a/content/shell/browser/layout_test/layout_test_browser_main.cc
+++ b/content/shell/browser/layout_test/layout_test_browser_main.cc
@@ -18,8 +18,8 @@
#include "base/threading/thread_restrictions.h"
#include "content/public/browser/browser_main_runner.h"
#include "content/public/common/url_constants.h"
+#include "content/shell/browser/blink_test_controller.h"
#include "content/shell/browser/shell.h"
-#include "content/shell/browser/webkit_test_controller.h"
#include "content/shell/common/shell_switches.h"
#include "content/shell/common/webkit_test_helpers.h"
#include "net/base/filename_util.h"
@@ -120,7 +120,7 @@ bool RunOneTest(const std::string& test_string,
base::FilePath cwd;
GURL test_url =
GetURLForLayoutTest(test_string, &cwd, &enable_pixel_dumps, &pixel_hash);
- if (!content::WebKitTestController::Get()->PrepareForLayoutTest(
+ if (!content::BlinkTestController::Get()->PrepareForLayoutTest(
test_url, cwd, enable_pixel_dumps, pixel_hash)) {
return false;
}
@@ -136,7 +136,7 @@ bool RunOneTest(const std::string& test_string,
main_runner->Run();
#endif
- if (!content::WebKitTestController::Get()->ResetAfterLayoutTest())
+ if (!content::BlinkTestController::Get()->ResetAfterLayoutTest())
return false;
#if defined(OS_ANDROID)
@@ -148,7 +148,7 @@ bool RunOneTest(const std::string& test_string,
}
int RunTests(const scoped_ptr<content::BrowserMainRunner>& main_runner) {
- content::WebKitTestController test_controller;
+ content::BlinkTestController test_controller;
{
// We're outside of the message loop here, and this is a test.
base::ThreadRestrictions::ScopedAllowIO allow_io;
« no previous file with comments | « content/shell/browser/blink_test_controller.cc ('k') | content/shell/browser/layout_test/layout_test_devtools_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698