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

Unified Diff: Source/testing/runner/WebTestProxy.cpp

Issue 22159002: Add 'didDispatchPingLoader' callback to FrameLoaderClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/testing/runner/TestRunner.cpp ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/WebTestProxy.cpp
diff --git a/Source/testing/runner/WebTestProxy.cpp b/Source/testing/runner/WebTestProxy.cpp
index 7e2dd3becda02953f3018bee6225ed2b7c7d1eb5..614149c879502ba2d30c11bc5221a23e6d0b0209 100644
--- a/Source/testing/runner/WebTestProxy.cpp
+++ b/Source/testing/runner/WebTestProxy.cpp
@@ -1272,6 +1272,12 @@ void WebTestProxyBase::didDetectXSS(WebFrame*, const WebURL&, bool)
m_delegate->printMessage("didDetectXSS\n");
}
+void WebTestProxyBase::didDispatchPingLoader(WebFrame*, const WebURL& url)
+{
+ if (m_testInterfaces->testRunner()->shouldDumpPingLoaderCallbacks())
+ m_delegate->printMessage(string("PingLoader dispatched to '") + URLDescription(url).c_str() + "'.\n");
+}
+
void WebTestProxyBase::willRequestResource(WebFrame* frame, const WebKit::WebCachedURLRequest& request)
{
if (m_testInterfaces->testRunner()->shouldDumpResourceRequestCallbacks()) {
« no previous file with comments | « Source/testing/runner/TestRunner.cpp ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698