| 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.
|
|
|