Abstract class WebTestDelegate to chromium c++ style.
BUG=331299
Review URL: https://codereview.chromium.org/583113002
Cr-Commit-Position: refs/heads/master@{#295675}
diff --git a/content/shell/renderer/test_runner/test_interfaces.cc b/content/shell/renderer/test_runner/test_interfaces.cc
index 3111daf..63f2b27 100644
--- a/content/shell/renderer/test_runner/test_interfaces.cc
+++ b/content/shell/renderer/test_runner/test_interfaces.cc
@@ -112,7 +112,7 @@
}
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 @@
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);