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

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

Issue 458723002: TestInterfaces to chromium c++ style, rename methods and remove un-used header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated Created 6 years, 4 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 2c58b3a48bb261db31c738f1bbf339ef93d04900..1569e57744601a9b6b3730cfcf645e5dd0125176 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -8,11 +8,11 @@
#include "base/logging.h"
#include "content/shell/common/test_runner/test_preferences.h"
-#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
#include "content/shell/renderer/test_runner/mock_web_push_client.h"
#include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h"
#include "content/shell/renderer/test_runner/notification_presenter.h"
+#include "content/shell/renderer/test_runner/test_interfaces.h"
#include "content/shell/renderer/test_runner/web_permissions.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
#include "gin/arguments.h"
@@ -2076,7 +2076,7 @@ void TestRunner::WaitForPolicyDelegate() {
}
int TestRunner::WindowCount() {
- return test_interfaces_->windowList().size();
+ return test_interfaces_->GetWindowList().size();
}
void TestRunner::SetCloseRemainingWindowsWhenComplete(
@@ -2085,7 +2085,7 @@ void TestRunner::SetCloseRemainingWindowsWhenComplete(
}
void TestRunner::ResetTestHelperControllers() {
- test_interfaces_->resetTestHelperControllers();
+ test_interfaces_->ResetTestHelperControllers();
}
void TestRunner::SetTabKeyCyclesThroughElements(
@@ -2744,7 +2744,7 @@ void TestRunner::SetMIDIAccessorResult(bool result) {
void TestRunner::SetMIDISysexPermission(bool value) {
const std::vector<WebTestProxyBase*>& windowList =
- test_interfaces_->windowList();
+ test_interfaces_->GetWindowList();
for (unsigned i = 0; i < windowList.size(); ++i)
windowList.at(i)->GetMIDIClientMock()->setSysexPermission(value);
}
« no previous file with comments | « content/shell/renderer/test_runner/test_interfaces.cc ('k') | content/shell/renderer/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698