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

Side by Side Diff: net/socket/socket_test_util.h

Issue 10680013: Remove unused fields found by clang's new Wunused-private-fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ppapi/examples/flash_topmost/flash_topmost.cc » ('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) 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 #ifndef NET_SOCKET_SOCKET_TEST_UTIL_H_ 5 #ifndef NET_SOCKET_SOCKET_TEST_UTIL_H_
6 #define NET_SOCKET_SOCKET_TEST_UTIL_H_ 6 #define NET_SOCKET_SOCKET_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <cstring> 9 #include <cstring>
10 #include <deque> 10 #include <deque>
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 778
779 private: 779 private:
780 static void ConnectCallback(MockSSLClientSocket *ssl_client_socket, 780 static void ConnectCallback(MockSSLClientSocket *ssl_client_socket,
781 const CompletionCallback& callback, 781 const CompletionCallback& callback,
782 int rv); 782 int rv);
783 783
784 scoped_ptr<ClientSocketHandle> transport_; 784 scoped_ptr<ClientSocketHandle> transport_;
785 SSLSocketDataProvider* data_; 785 SSLSocketDataProvider* data_;
786 bool is_npn_state_set_; 786 bool is_npn_state_set_;
787 bool new_npn_value_; 787 bool new_npn_value_;
788 bool was_used_to_convey_data_;
789 bool is_protocol_negotiated_set_; 788 bool is_protocol_negotiated_set_;
790 NextProto protocol_negotiated_; 789 NextProto protocol_negotiated_;
791 }; 790 };
792 791
793 class MockUDPClientSocket : public DatagramClientSocket, 792 class MockUDPClientSocket : public DatagramClientSocket,
794 public AsyncSocket { 793 public AsyncSocket {
795 public: 794 public:
796 MockUDPClientSocket(SocketDataProvider* data, net::NetLog* net_log); 795 MockUDPClientSocket(SocketDataProvider* data, net::NetLog* net_log);
797 virtual ~MockUDPClientSocket(); 796 virtual ~MockUDPClientSocket();
798 797
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 1055
1057 extern const char kSOCKS5OkRequest[]; 1056 extern const char kSOCKS5OkRequest[];
1058 extern const int kSOCKS5OkRequestLength; 1057 extern const int kSOCKS5OkRequestLength;
1059 1058
1060 extern const char kSOCKS5OkResponse[]; 1059 extern const char kSOCKS5OkResponse[];
1061 extern const int kSOCKS5OkResponseLength; 1060 extern const int kSOCKS5OkResponseLength;
1062 1061
1063 } // namespace net 1062 } // namespace net
1064 1063
1065 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_ 1064 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ppapi/examples/flash_topmost/flash_topmost.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698