OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_HTTP_HTTP_TRANSACTION_DELEGATE_H__ |
| 6 #define NET_HTTP_HTTP_TRANSACTION_DELEGATE_H__ |
| 7 #pragma once |
| 8 |
| 9 namespace net { |
| 10 |
| 11 // Delegate class receiving notifications when cache actions start and finish, |
| 12 // i.e. when the object starts and finishes waiting on an underlying cache. |
| 13 class HttpTransactionDelegate { |
| 14 public: |
| 15 virtual void OnCacheActionStart() = 0; |
| 16 virtual void OnCacheActionFinish() = 0; |
| 17 }; |
| 18 |
| 19 } // namespace net |
| 20 |
| 21 #endif // NET_HTTP_HTTP_TRANSACTION_DELEGATE_H__ |
OLD | NEW |