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

Unified Diff: chrome/browser/google_apis/test_server/http_server.h

Issue 11419283: google_apis: Remove some functions from test_server::HttpServer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | chrome/browser/google_apis/test_server/http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/google_apis/test_server/http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698