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

Unified Diff: net/test/embedded_test_server/http_response.h

Issue 1114843004: Use of base::StringPairs appropriately in net/test/embedded_test_server/http_response.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/test/embedded_test_server/http_response.h
diff --git a/net/test/embedded_test_server/http_response.h b/net/test/embedded_test_server/http_response.h
index 821c02757dc0e2e1c81475b102d410a4b8f57317..d4df75b5b85418960e39b54056b1562dfe4c4d39 100644
--- a/net/test/embedded_test_server/http_response.h
+++ b/net/test/embedded_test_server/http_response.h
@@ -7,10 +7,10 @@
#include <map>
#include <string>
-#include <vector>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/strings/string_split.h"
#include "net/http/http_status_code.h"
namespace net {
@@ -60,7 +60,7 @@ class BasicHttpResponse : public HttpResponse {
HttpStatusCode code_;
std::string content_;
std::string content_type_;
- std::vector<std::pair<std::string, std::string> > custom_headers_;
+ base::StringPairs custom_headers_;
DISALLOW_COPY_AND_ASSIGN(BasicHttpResponse);
};
« 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