Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_OPTIONS_H_ | |
| 6 #define NET_SOCKET_CLIENT_SOCKET_POOL_OPTIONS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace net { | |
| 10 | |
| 11 struct NET_EXPORT_PRIVATE ClientSocketPoolOptions { | |
| 12 | |
| 13 ClientSocketPoolOptions(bool timer_enabled = true) | |
|
willchan no longer on Chromium
2011/11/15 20:35:29
no default args
| |
| 14 : use_cleanup_timer(timer_enabled) {} | |
|
willchan no longer on Chromium
2011/11/15 20:35:29
indent 4 spaces
| |
| 15 virtual ~ClientSocketPoolOptions() {} | |
|
willchan no longer on Chromium
2011/11/15 20:35:29
No need for virtual
| |
| 16 | |
| 17 bool use_cleanup_timer; | |
| 18 }; | |
| 19 | |
| 20 } // namespace net | |
| 21 | |
| 22 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_OPTIONS_H_ | |
| 23 | |
| OLD | NEW |