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

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

Issue 297273003: test_runner: Migrate WebTestRunner to our Chromium C++ style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 57d64f5043f0cd6f05b5c491ffd14e8e53b24c86..981ca526b2d18acbc6d031353a488e3662d974f6 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -1537,7 +1537,7 @@ void TestRunner::setCustomTextOutput(std::string text) {
has_custom_text_output_ = true;
}
-bool TestRunner::shouldGeneratePixelResults() {
+bool TestRunner::ShouldGeneratePixelResults() {
CheckResponseMimeType();
return generate_pixel_results_;
}
@@ -1554,12 +1554,12 @@ bool TestRunner::shouldDumpChildFramesAsText() const {
return dump_child_frames_as_text_;
}
-bool TestRunner::shouldDumpAsAudio() const {
+bool TestRunner::ShouldDumpAsAudio() const {
return dump_as_audio_;
}
-void TestRunner::getAudioData(std::vector<unsigned char>* bufferView) const {
- *bufferView = audio_data_;
+void TestRunner::GetAudioData(std::vector<unsigned char>* buffer_view) const {
+ *buffer_view = audio_data_;
}
bool TestRunner::shouldDumpFrameLoadCallbacks() const {
@@ -1614,7 +1614,7 @@ bool TestRunner::shouldDumpResourceResponseMIMETypes() const {
return test_is_running_ && dump_resource_reqponse_mime_types_;
}
-WebPermissionClient* TestRunner::webPermissions() const {
+WebPermissionClient* TestRunner::GetWebPermissions() const {
return web_permissions_.get();
}
@@ -1630,7 +1630,7 @@ bool TestRunner::shouldDumpSpellCheckCallbacks() const {
return dump_spell_check_callbacks_;
}
-bool TestRunner::shouldDumpBackForwardList() const {
+bool TestRunner::ShouldDumpBackForwardList() const {
return dump_back_forward_list_;
}
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.h ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698