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

Side by Side Diff: net/base/telnet_server.h

Issue 2657005: Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: added the macro back Created 10 years, 6 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
« no previous file with comments | « net/base/ssl_config_service_win.h ('k') | net/base/upload_data_stream.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BASE_TELNET_SERVER_H_ 5 #ifndef NET_BASE_TELNET_SERVER_H_
6 #define NET_BASE_TELNET_SERVER_H_ 6 #define NET_BASE_TELNET_SERVER_H_
7 7
8 #include "net/base/listen_socket.h" 8 #include "net/base/listen_socket.h"
9 9
10 // Implements the telnet protocol on top of the raw socket interface. 10 // Implements the telnet protocol on top of the raw socket interface.
11 // DidRead calls to the delegate are buffered on a line by line basis. 11 // DidRead calls to the delegate are buffered on a line by line basis.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // telnet commands 49 // telnet commands
50 void SendIAC(int command, int option); 50 void SendIAC(int command, int option);
51 void StateMachineStep(unsigned char c); 51 void StateMachineStep(unsigned char c);
52 52
53 TelnetInputState input_state_; 53 TelnetInputState input_state_;
54 int iac_command_; // Last command read. 54 int iac_command_; // Last command read.
55 int iac_option_; // Last option read. 55 int iac_option_; // Last option read.
56 std::string command_line_; 56 std::string command_line_;
57 57
58 DISALLOW_EVIL_CONSTRUCTORS(TelnetServer); 58 DISALLOW_COPY_AND_ASSIGN(TelnetServer);
59 }; 59 };
60 60
61 #endif // NET_BASE_TELNET_SERVER_H_ 61 #endif // NET_BASE_TELNET_SERVER_H_
OLDNEW
« no previous file with comments | « net/base/ssl_config_service_win.h ('k') | net/base/upload_data_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698