diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 00:16:00 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 00:16:00 +0000 |
commit | e4d9a972ed8350b5e45f5da90b2a1b5ab47c1ca7 (patch) | |
tree | f0e581785158191a33d811f14b5f3a7c8fa88d86 /net/socket/client_socket_pool_base.h | |
parent | 004ac358836de769a4d070c95610afb1ea619414 (diff) | |
download | chromium_src-e4d9a972ed8350b5e45f5da90b2a1b5ab47c1ca7.zip chromium_src-e4d9a972ed8350b5e45f5da90b2a1b5ab47c1ca7.tar.gz chromium_src-e4d9a972ed8350b5e45f5da90b2a1b5ab47c1ca7.tar.bz2 |
Revert r85014 because it doesn't work fully and we're doing something else.
=====
Restart socket pool backup job timer on ReleaseSocket.
This is a temporary hack while we pursue longer term solutions that will require bigger changes.
BUG=81686
TEST=none
Review URL: http://codereview.chromium.org/7002016
TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/6973022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket_pool_base.h')
-rw-r--r-- | net/socket/client_socket_pool_base.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h index 90beed89..25bc7c7 100644 --- a/net/socket/client_socket_pool_base.h +++ b/net/socket/client_socket_pool_base.h @@ -360,11 +360,9 @@ class ClientSocketPoolBaseHelper return pending_requests_.front()->priority(); } - bool HasBackupJob() const; + bool HasBackupJob() const { return !method_factory_.empty(); } - bool BackupJobTimerIsRunning() const { return !method_factory_.empty(); } - - void CleanupBackupJobTimer() { + void CleanupBackupJob() { method_factory_.RevokeAll(); } |