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

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

Issue 8526006: Close idle sockets next time we are about to send data. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: code conventions Created 9 years, 1 month 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698