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

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: Resolving the scoping error 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
« no previous file with comments | « content/browser/transition_request_manager.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/browser/transition_request_manager.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698