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

Unified Diff: content/common/websocket.h

Issue 598323002: Use of base::StringPairs appropriately in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: content/common/websocket.h
diff --git a/content/common/websocket.h b/content/common/websocket.h
index 108131877724a180cf169aa9b5e0e517451098c6..e79fc988c058a5f9648fdd9a81b4add6095280d6 100644
--- a/content/common/websocket.h
+++ b/content/common/websocket.h
@@ -9,6 +9,7 @@
#include <utility>
#include <vector>
+#include "base/strings/string_split.h"
#include "base/time/time.h"
#include "url/gurl.h"
@@ -31,7 +32,7 @@ struct WebSocketHandshakeRequest {
// The request URL
GURL url;
// Additional HTTP request headers
- std::vector<std::pair<std::string, std::string> > headers;
+ base::StringPairs headers;
// HTTP request headers raw string
std::string headers_text;
// The time that this request is sent

Powered by Google App Engine
This is Rietveld 408576698