Index: chrome/browser/google_apis/test_server/http_server.h |
diff --git a/chrome/browser/google_apis/test_server/http_server.h b/chrome/browser/google_apis/test_server/http_server.h |
index 2352402da74fe98286565e387d438bae961784e7..78b8cfd76e8ea628631b51e138e571e3b3ebdfa5 100644 |
--- a/chrome/browser/google_apis/test_server/http_server.h |
+++ b/chrome/browser/google_apis/test_server/http_server.h |
@@ -93,27 +93,6 @@ class HttpServer : private net::StreamListenSocket::Delegate { |
// on UI thread. |
void RegisterRequestHandler(const HandleRequestCallback& callback); |
- // Used to provide the same predefined response for the requests matching |
- // the |relative_path|, which should start with '/'. Should be used if any |
- // custom data, such as additional headers should be sent from the server. |
- void RegisterDefaultResponse( |
- const std::string& relative_path, |
- const HttpResponse& default_response); |
- |
- // Registers a simple text response. |
- void RegisterTextResponse( |
- const std::string& relative_path, |
- const std::string& content, |
- const std::string& content_type, |
- const ResponseCode response_code); |
- |
- // Registers a simple file response. The file is loaded into memory. |
- void RegisterFileResponse( |
- const std::string& relative_path, |
- const FilePath& file_path, |
- const std::string& content_type, |
- const ResponseCode response_code); |
- |
private: |
// Initializes and starts the server. If initialization succeeds, Starts() |
// will return true. |