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

Unified Diff: content/shell/renderer/test_runner/test_interfaces.cc

Issue 583113002: Abstract class WebTestDelegate to chromium c++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test_runner Created 6 years, 3 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/renderer/test_runner/test_interfaces.cc
diff --git a/content/shell/renderer/test_runner/test_interfaces.cc b/content/shell/renderer/test_runner/test_interfaces.cc
index 3111dafcd82fc90de088341135af1c5bd72e6b75..63f2b271e4d0afb7263b5103fc2686dae96ddc86 100644
--- a/content/shell/renderer/test_runner/test_interfaces.cc
+++ b/content/shell/renderer/test_runner/test_interfaces.cc
@@ -112,7 +112,7 @@ void TestInterfaces::ConfigureForTestWithURL(const blink::WebURL& test_url,
}
if (spec.find("/inspector/") != std::string::npos ||
spec.find("/inspector-enabled/") != std::string::npos)
- test_runner_->clearDevToolsLocalStorage();
+ test_runner_->ClearDevToolsLocalStorage();
if (spec.find("/inspector/") != std::string::npos) {
// Subfolder name determines default panel to open.
std::string settings = "";
@@ -122,7 +122,7 @@ void TestInterfaces::ConfigureForTestWithURL(const blink::WebURL& test_url,
settings = base::StringPrintf("{\"lastActivePanel\":\"\\\"%s\\\"\"}",
test_path.substr(0, slash_index).c_str());
}
- test_runner_->showDevTools(settings, std::string());
+ test_runner_->ShowDevTools(settings, std::string());
}
if (spec.find("/viewsource/") != std::string::npos) {
test_runner_->setShouldEnableViewSource(true);
« no previous file with comments | « content/shell/renderer/test_runner/spell_check_client.cc ('k') | content/shell/renderer/test_runner/test_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698