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

Unified Diff: ios/web/public/test/http_server_util.h

Issue 2285773002: Ability to add ResponseProvider (Closed)
Patch Set: Address review comments Created 4 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 | « no previous file | ios/web/public/test/http_server_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/http_server_util.h
diff --git a/ios/web/public/test/http_server_util.h b/ios/web/public/test/http_server_util.h
index a8b0b49bb80e4ac4be0e9a90f0690e5c98126e1a..474bc2d8d081e0b1ec65f87a5e18009e968ecfe2 100644
--- a/ios/web/public/test/http_server_util.h
+++ b/ios/web/public/test/http_server_util.h
@@ -29,7 +29,10 @@ void SetUpFileBasedHttpServer();
// Takes ownership of the provider.
void SetUpHttpServer(std::unique_ptr<web::ResponseProvider> provider);
+// Adds a single custom provider.
+// Takes ownership of the provider.
+void AddResponseProvider(std::unique_ptr<web::ResponseProvider> provider);
} // namespace test
} // namespace web
-#endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_
+#endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_
« no previous file with comments | « no previous file | ios/web/public/test/http_server_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698