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

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

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
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/test/http_server.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.h
diff --git a/ios/web/public/test/http_server.h b/ios/web/public/test/http_server.h
index 11e32c96c3e8da7867b4f19c0cc91187cbf1747e..af51875f5a3aa60b11ce5532e0cf66d138c70347 100644
--- a/ios/web/public/test/http_server.h
+++ b/ios/web/public/test/http_server.h
@@ -75,6 +75,9 @@ class HttpServer {
// Must be called from the main thread.
bool IsRunning() const;
+ // Returns the port that the server is running on. Thread Safe
+ NSUInteger GetPort() const;
+
// Adds a ResponseProvider. Takes ownership of the ResponseProvider.
// Note for using URLs inside of the |response_provider|:
// The HttpServer cannot run on default HTTP port 80, so URLs used in
@@ -96,8 +99,6 @@ class HttpServer {
// Sets the port that the server is running on. Thread Safe
void SetPort(NSUInteger port);
- // Returns the port that the server is running on. Thread Safe
- NSUInteger GetPort() const;
// Creates a GURL that the server can service based on the |url|
// passed in.
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/test/http_server.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698