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

Unified Diff: third_party/WebKit/public/platform/WebURLLoaderMockFactory.h

Issue 2592363002: FontResourceTest: call unregisterURL() respectively (Closed)
Patch Set: done Created 4 years 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 | « third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
diff --git a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
index 1e17c337b89e88e1828d46ead4ea25743e300ea0..b3cc9b16f918ec866ead8c913c0155fb77a24ad6 100644
--- a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
+++ b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
@@ -32,11 +32,15 @@ class WebURLLoaderMockFactory {
// Registers a response and the file to be served when the specified URL
// is loaded. If no file is specified then the response content will be empty.
+ // unregisterURL() should be called for each test entry before registering
+ // another response for the same URL from another test.
virtual void registerURL(const WebURL&,
const WebURLResponse&,
const WebString& filePath) = 0;
// Registers an error to be served when the specified URL is requested.
+ // unregisterURL() should be called for each test entry before registering
+ // another response for the same URL from another test.
virtual void registerErrorURL(const WebURL&,
const WebURLResponse&,
const WebURLError&) = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698