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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimRequest.cpp

Issue 1845323002: Remove WebUnitTestSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
index 9aacb90f771f1a17fadf79567949b8038c697ef8..31b07f35f24ae7d255def3008176f9a99e317126 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
@@ -7,7 +7,7 @@
#include "platform/weborigin/KURL.h"
#include "public/platform/Platform.h"
#include "public/platform/WebURLLoaderClient.h"
-#include "public/platform/WebUnitTestSupport.h"
+#include "public/platform/WebURLLoaderMockFactory.h"
#include "web/tests/sim/SimNetwork.h"
namespace blink {
@@ -23,7 +23,7 @@ SimRequest::SimRequest(String url, String mimeType)
WebURLResponse response(fullUrl);
response.setMIMEType(mimeType);
response.setHTTPStatusCode(200);
- Platform::current()->unitTestSupport()->registerMockedURL(fullUrl, response, "");
+ Platform::current()->getURLLoaderMockFactory()->registerURL(fullUrl, response, "");
SimNetwork::current().addRequest(*this);
}
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698