diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-23 21:29:11 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-23 21:29:11 +0000 |
commit | c700fd159b4c094530244eb8e482376160823b5e (patch) | |
tree | 148e2676f0cf9fd95967757c26a7927c228ae9e2 /cloud_print | |
parent | f23a4495c988573cd612c6a58627c2eb3743bc23 (diff) | |
download | chromium_src-c700fd159b4c094530244eb8e482376160823b5e.zip chromium_src-c700fd159b4c094530244eb8e482376160823b5e.tar.gz chromium_src-c700fd159b4c094530244eb8e482376160823b5e.tar.bz2 |
Allow HttpServer response to include custom headers.
This is done by introducing a simple HttpServerResponseInfo class, and
changing the root HttpServer::Send to accept it instead of a status, data, and
mime type.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/19637005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r-- | cloud_print/gcp20/prototype/privet_http_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloud_print/gcp20/prototype/privet_http_server.h b/cloud_print/gcp20/prototype/privet_http_server.h index c4071f0..84a464c 100644 --- a/cloud_print/gcp20/prototype/privet_http_server.h +++ b/cloud_print/gcp20/prototype/privet_http_server.h @@ -10,6 +10,7 @@ #include "base/basictypes.h" #include "base/values.h" +#include "net/http/http_status_code.h" #include "net/server/http_server.h" #include "net/server/http_server_request_info.h" |