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

Unified Diff: net/websockets/websocket_stream_create_test_base.h

Issue 2102993002: Fix WebSocket to set first party for cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update testRunner calls to setBlockThirdPartyCookies() Created 4 years, 5 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 | « net/websockets/websocket_stream_cookie_test.cc ('k') | net/websockets/websocket_stream_create_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_stream_create_test_base.h
diff --git a/net/websockets/websocket_stream_create_test_base.h b/net/websockets/websocket_stream_create_test_base.h
index 1cdc4b400e004dc7fd0106122830b7503e271920..3d6a7cf448fb61524990936d5b1fb71f7d10c9b4 100644
--- a/net/websockets/websocket_stream_create_test_base.h
+++ b/net/websockets/websocket_stream_create_test_base.h
@@ -19,6 +19,8 @@
#include "net/websockets/websocket_event_interface.h"
#include "net/websockets/websocket_test_util.h"
+class GURL;
+
namespace net {
class HttpRequestHeaders;
@@ -37,9 +39,10 @@ class WebSocketStreamCreateTestBase {
// A wrapper for CreateAndConnectStreamForTesting that knows about our default
// parameters.
- void CreateAndConnectStream(const std::string& socket_url,
+ void CreateAndConnectStream(const GURL& socket_url,
const std::vector<std::string>& sub_protocols,
const url::Origin& origin,
+ const GURL& first_party_for_cookies,
const std::string& additional_headers,
std::unique_ptr<base::Timer> timer);
« no previous file with comments | « net/websockets/websocket_stream_cookie_test.cc ('k') | net/websockets/websocket_stream_create_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698