| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "net/websockets/websocket_net_log_params.h" | 5 #include "net/websockets/websocket_net_log_params.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 "Origin: http://example.com\r\n" | 41 "Origin: http://example.com\r\n" |
| 42 "\r\n" + | 42 "\r\n" + |
| 43 key; | 43 key; |
| 44 | 44 |
| 45 scoped_ptr<base::Value> actual( | 45 scoped_ptr<base::Value> actual( |
| 46 net::NetLogWebSocketHandshakeCallback(&testInput, | 46 net::NetLogWebSocketHandshakeCallback(&testInput, |
| 47 net::NetLog::LOG_BASIC)); | 47 net::NetLog::LOG_BASIC)); |
| 48 | 48 |
| 49 EXPECT_TRUE(expected.Equals(actual.get())); | 49 EXPECT_TRUE(expected.Equals(actual.get())); |
| 50 } | 50 } |
| OLD | NEW |