Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef NET_HTTP_HTTP_TRANSACTION_DELEGATE_H_ | |
| 6 #define NET_HTTP_HTTP_TRANSACTION_DELEGATE_H_ | |
| 7 | |
| 8 namespace net { | |
| 9 | |
| 10 // Delegate class receiving notifications when cache actions start and finish, | |
| 11 // i.e. when the object starts and finishes waiting on an underlying cache. | |
| 12 // The owner of a HttpTransaction can use this to register a delegate to | |
| 13 // receive notifications when transactions on an underlying cache start and | |
|
rvargas (doing something else)
2012/07/26 02:13:43
transactions __ start and stop? needs rewording.
tburkard
2012/07/26 02:50:54
Done.
| |
| 14 // finish. | |
| 15 class HttpTransactionDelegate { | |
| 16 public: | |
| 17 virtual ~HttpTransactionDelegate() {} | |
| 18 virtual void OnCacheActionStart() = 0; | |
| 19 virtual void OnCacheActionFinish() = 0; | |
| 20 }; | |
| 21 | |
| 22 } // namespace net | |
| 23 | |
| 24 #endif // NET_HTTP_HTTP_TRANSACTION_DELEGATE_H__ | |
| OLD | NEW |