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

Side by Side Diff: net/http/http_transaction_factory.h

Issue 7043007: Kill URLRequestJobTracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 9 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_TRANSACTION_FACTORY_H__ 5 #ifndef NET_HTTP_HTTP_TRANSACTION_FACTORY_H__
6 #define NET_HTTP_HTTP_TRANSACTION_FACTORY_H__ 6 #define NET_HTTP_HTTP_TRANSACTION_FACTORY_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_api.h" 10 #include "net/base/net_api.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // Creates a HttpTransaction object. On success, saves the new 24 // Creates a HttpTransaction object. On success, saves the new
25 // transaction to |*trans| and returns OK. 25 // transaction to |*trans| and returns OK.
26 virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans) = 0; 26 virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans) = 0;
27 27
28 // Returns the associated cache if any (may be NULL). 28 // Returns the associated cache if any (may be NULL).
29 virtual HttpCache* GetCache() = 0; 29 virtual HttpCache* GetCache() = 0;
30 30
31 // Returns the associated HttpNetworkSession used by new transactions. 31 // Returns the associated HttpNetworkSession used by new transactions.
32 virtual HttpNetworkSession* GetSession() = 0; 32 virtual HttpNetworkSession* GetSession() = 0;
33
34 // Suspends the creation of new transactions. If |suspend| is false, creation
35 // of new transactions is resumed.
36 virtual void Suspend(bool suspend) = 0;
37 }; 33 };
38 34
39 } // namespace net 35 } // namespace net
40 36
41 #endif // NET_HTTP_HTTP_TRANSACTION_FACTORY_H__ 37 #endif // NET_HTTP_HTTP_TRANSACTION_FACTORY_H__
OLDNEW
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698