Update include paths in miscellaneous content/ directories for base/process changes.
[chromium-blink-merge.git] / net / http / http_transaction_delegate.h
blob18493733bff7cca9cae0ba8059ca6c9767b0c504
1 // Copyright (c) 2012 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.
5 #ifndef NET_HTTP_HTTP_TRANSACTION_DELEGATE_H_
6 #define NET_HTTP_HTTP_TRANSACTION_DELEGATE_H_
8 namespace net {
10 // Delegate class receiving notifications when cache or network actions start
11 // and finish, i.e. when the object starts and finishes waiting on an
12 // underlying cache or the network. The owner of a HttpTransaction can use
13 // this to register a delegate to receive notifications when these events
14 // happen.
15 class HttpTransactionDelegate {
16 public:
17 virtual ~HttpTransactionDelegate() {}
18 virtual void OnCacheActionStart() = 0;
19 virtual void OnCacheActionFinish() = 0;
20 virtual void OnNetworkActionStart() = 0;
21 virtual void OnNetworkActionFinish() = 0;
24 } // namespace net
26 #endif // NET_HTTP_HTTP_TRANSACTION_DELEGATE_H_