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

Unified Diff: ios/web/public/test/http_server.mm

Issue 2644223002: Integration tests for WebStateDelegate::OnAuthRequired callback. (Closed)
Patch Set: Addressed review comments Created 3 years, 11 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: ios/web/public/test/http_server.mm
diff --git a/ios/web/public/test/http_server.mm b/ios/web/public/test/http_server.mm
index e733a5f8b5c342f90dd3b2b7879daea26273aeb6..c5217160571ec5b3fd3ce695aa0c8500d613e35a 100644
--- a/ios/web/public/test/http_server.mm
+++ b/ios/web/public/test/http_server.mm
@@ -145,6 +145,11 @@ bool HttpServer::IsRunning() const {
return [gcd_web_server_ isRunning];
}
+NSUInteger HttpServer::GetPort() const {
+ base::AutoLock autolock(port_lock_);
+ return port_;
+}
+
// static
GURL HttpServer::MakeUrl(const std::string &url) {
return HttpServer::GetSharedInstance().MakeUrlForHttpServer(url);
@@ -229,10 +234,5 @@ void HttpServer::SetPort(NSUInteger port) {
port_ = port;
}
-NSUInteger HttpServer::GetPort() const {
- base::AutoLock autolock(port_lock_);
- return port_;
-}
-
} // namespace test
} // namespace web
« no previous file with comments | « ios/web/public/test/http_server.h ('k') | ios/web/public/test/response_providers/http_auth_response_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698