diff options
Diffstat (limited to 'chrome_frame/test/test_server.h')
-rw-r--r-- | chrome_frame/test/test_server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/test/test_server.h b/chrome_frame/test/test_server.h index 1b60645..aa706d8 100644 --- a/chrome_frame/test/test_server.h +++ b/chrome_frame/test/test_server.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -360,6 +360,9 @@ class ConfigurableConnection : public base::RefCounted<ConfigurableConnection> { // next chunk of |data_|. void SendChunk(); + // Closes the connection by releasing this instance's reference on its socket. + void Close(); + scoped_refptr<net::ListenSocket> socket_; Request r_; SendOptions options_; |