Index: net/http/http_transaction_factory.h |
=================================================================== |
--- net/http/http_transaction_factory.h (revision 148459) |
+++ net/http/http_transaction_factory.h (working copy) |
@@ -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. |
@@ -13,8 +13,8 @@ |
class HttpCache; |
class HttpNetworkSession; |
class HttpTransaction; |
+class HttpTransactionDelegate; |
- |
// An interface to a class that can create HttpTransaction objects. |
class NET_EXPORT HttpTransactionFactory { |
public: |
@@ -22,7 +22,8 @@ |
// Creates a HttpTransaction object. On success, saves the new |
// transaction to |*trans| and returns OK. |
- virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans) = 0; |
+ virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans, |
+ HttpTransactionDelegate* delegate) = 0; |
// Returns the associated cache if any (may be NULL). |
virtual HttpCache* GetCache() = 0; |