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

Unified Diff: webkit/support/webkit_support.cc

Issue 10735037: Add WebURLLoaderMockFactory::GetLastHandledAsynchronousRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « webkit/support/webkit_support.h ('k') | webkit/support/weburl_loader_mock_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index 276541bd8cfa30798f3a450ad02ebc2df9a3025b..3eabf4debba5809e0a213144aa5875fc39edb95e 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -487,6 +487,11 @@ void ServeAsynchronousMockedRequests() {
ServeAsynchronousRequests();
}
+WebKit::WebURLRequest GetLastHandledAsynchronousMockedRequest() {
+ return test_environment->webkit_platform_support()->url_loader_factory()->
+ GetLastHandledAsynchronousRequest();
+}
+
// Wrapper for debug_util
bool BeingDebugged() {
return base::debug::BeingDebugged();
« no previous file with comments | « webkit/support/webkit_support.h ('k') | webkit/support/weburl_loader_mock_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698