OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_ | 5 #ifndef NET_TOOLS_BALSA_BALSA_VISITOR_INTERFACE_H_ |
6 #define NET_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_ | 6 #define NET_TOOLS_BALSA_BALSA_VISITOR_INTERFACE_H_ |
7 | 7 |
8 #include <cstddef> | 8 #include <cstddef> |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 class BalsaFrame; | 12 class BalsaFrame; |
13 class BalsaHeaders; | 13 class BalsaHeaders; |
14 | 14 |
15 // By default the BalsaFrame instantiates a class derived from this interface | 15 // By default the BalsaFrame instantiates a class derived from this interface |
16 // which does absolutely nothing. If you'd prefer to have interesting | 16 // which does absolutely nothing. If you'd prefer to have interesting |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // Currently, this can only be called when there is an error | 170 // Currently, this can only be called when there is an error |
171 // with the BytesSpliced() function, but in the future other interesting | 171 // with the BytesSpliced() function, but in the future other interesting |
172 // errors could occur. | 172 // errors could occur. |
173 // Arguments: | 173 // Arguments: |
174 // framer - the framer in which an error occured. | 174 // framer - the framer in which an error occured. |
175 virtual void HandleBodyError(BalsaFrame* framer) = 0; | 175 virtual void HandleBodyError(BalsaFrame* framer) = 0; |
176 }; | 176 }; |
177 | 177 |
178 } // namespace net | 178 } // namespace net |
179 | 179 |
180 #endif // NET_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_ | 180 #endif // NET_TOOLS_BALSA_BALSA_VISITOR_INTERFACE_H_ |
OLD | NEW |