| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/callback_forward.h" | 7 #include "base/callback_forward.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
| 15 #include "net/cookies/cookie_store.h" | 15 #include "net/cookies/cookie_store.h" |
| 16 #include "net/socket/socket_test_util.h" | 16 #include "net/socket/socket_test_util.h" |
| 17 #include "net/websockets/websocket_stream_create_test_base.h" | 17 #include "net/websockets/websocket_stream_create_test_base.h" |
| 18 #include "net/websockets/websocket_test_util.h" | 18 #include "net/websockets/websocket_test_util.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 21 #include "url/origin.h" | 21 #include "url/origin.h" |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 namespace { | 24 namespace { |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 "", | 497 "", |
| 498 "Set-Cookie: test-cookie"}, | 498 "Set-Cookie: test-cookie"}, |
| 499 }; | 499 }; |
| 500 | 500 |
| 501 INSTANTIATE_TEST_CASE_P(WebSocketStreamServerSetCookieTest, | 501 INSTANTIATE_TEST_CASE_P(WebSocketStreamServerSetCookieTest, |
| 502 WebSocketStreamServerSetCookieTest, | 502 WebSocketStreamServerSetCookieTest, |
| 503 ValuesIn(kServerSetCookieParameters)); | 503 ValuesIn(kServerSetCookieParameters)); |
| 504 | 504 |
| 505 } // namespace | 505 } // namespace |
| 506 } // namespace net | 506 } // namespace net |
| OLD | NEW |