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

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 1840823002: Extract WebViewClient implementation out of WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate-pixel-dump-code
Patch Set: Expanding a comment + an IWYU fix. Created 4 years, 8 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
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_frame_test_client.cc
diff --git a/components/test_runner/web_frame_test_client.cc b/components/test_runner/web_frame_test_client.cc
index b70dfae8523bf8a0a94abd6c957d9f9d74fdda90..bdc757966618084c40dfecec2ad5a77213ea59cb 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -4,6 +4,7 @@
#include "components/test_runner/web_frame_test_client.h"
+#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
@@ -202,7 +203,12 @@ WebFrameTestClient::WebFrameTestClient(
: test_runner_(test_runner),
delegate_(delegate),
accessibility_controller_(accessibility_controller),
- event_sender_(event_sender) {}
+ event_sender_(event_sender) {
+ DCHECK(test_runner);
+ DCHECK(delegate_);
+ DCHECK(accessibility_controller_);
+ DCHECK(event_sender_);
+}
WebFrameTestClient::~WebFrameTestClient() {}
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698