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

Unified Diff: net/server/http_server_response_info.h

Issue 1093823005: Use of base::StringPairs appropriately in server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_server_response_info.h
diff --git a/net/server/http_server_response_info.h b/net/server/http_server_response_info.h
index bbb76d8836d291130343c3c467680b304b2d2023..e583e0ddd2ad2dabbb9bccc6502c07ae991bd139 100644
--- a/net/server/http_server_response_info.h
+++ b/net/server/http_server_response_info.h
@@ -7,8 +7,8 @@
#include <string>
#include <utility>
-#include <vector>
+#include "base/strings/string_split.h"
#include "net/http/http_status_code.h"
namespace net {
@@ -37,7 +37,7 @@ class HttpServerResponseInfo {
const std::string& body() const;
private:
- typedef std::vector<std::pair<std::string, std::string> > Headers;
+ using Headers = base::StringPairs;
HttpStatusCode status_code_;
Headers headers_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698