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

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

Issue 2285773002: Ability to add ResponseProvider (Closed)
Patch Set: 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..2f8654dce9e9b80a2157819cb6094838f33af8ef 100644
--- a/ios/web/public/test/http_server_util.h
+++ b/ios/web/public/test/http_server_util.h
@@ -29,7 +29,11 @@ void SetUpFileBasedHttpServer();
// Takes ownership of the provider.
void SetUpHttpServer(std::unique_ptr<web::ResponseProvider> provider);
+// Add a single custom provider.
Eugene But (OOO till 7-30) 2016/08/26 15:34:12 s/Add/Adds
+// Takes ownership of the provider.
Eugene But (OOO till 7-30) 2016/08/26 15:34:12 Optional NIT: Maybe remove line-break.
+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