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

Side by Side Diff: net/curvecp/test_client.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/curvecp/server_messenger.h ('k') | net/http/http_pipelined_connection_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_CURVECP_TEST_CLIENT_H_ 5 #ifndef NET_CURVECP_TEST_CLIENT_H_
6 #define NET_CURVECP_TEST_CLIENT_H_ 6 #define NET_CURVECP_TEST_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/task.h"
10 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
11 #include "net/base/host_port_pair.h" 10 #include "net/base/host_port_pair.h"
12 #include "net/base/io_buffer.h" 11 #include "net/base/io_buffer.h"
13 #include "net/base/test_data_stream.h" 12 #include "net/base/test_data_stream.h"
14 13
15 namespace net { 14 namespace net {
16 15
17 class CurveCPClientSocket; 16 class CurveCPClientSocket;
18 17
19 // The TestClient connects to a test server, sending a stream of verifiable 18 // The TestClient connects to a test server, sending a stream of verifiable
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 int bytes_to_read_; 57 int bytes_to_read_;
59 int bytes_to_send_; 58 int bytes_to_send_;
60 TestDataStream sent_stream_; 59 TestDataStream sent_stream_;
61 TestDataStream received_stream_; 60 TestDataStream received_stream_;
62 CompletionCallback finished_callback_; 61 CompletionCallback finished_callback_;
63 }; 62 };
64 63
65 } // namespace net 64 } // namespace net
66 65
67 #endif // NET_CURVECP_TEST_CLIENT_H_ 66 #endif // NET_CURVECP_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « net/curvecp/server_messenger.h ('k') | net/http/http_pipelined_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698