OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 | 11 |
12 #ifndef WEBRTC_RTC_BASE_HTTPBASE_H_ | 12 #ifndef WEBRTC_RTC_BASE_HTTPBASE_H_ |
13 #define WEBRTC_RTC_BASE_HTTPBASE_H_ | 13 #define WEBRTC_RTC_BASE_HTTPBASE_H_ |
14 | 14 |
15 #include "webrtc/base/httpcommon.h" | 15 #include "webrtc/rtc_base/httpcommon.h" |
16 | 16 |
17 namespace rtc { | 17 namespace rtc { |
18 | 18 |
19 class StreamInterface; | 19 class StreamInterface; |
20 | 20 |
21 /////////////////////////////////////////////////////////////////////////////// | 21 /////////////////////////////////////////////////////////////////////////////// |
22 // HttpParser - Parses an HTTP stream provided via Process and end_of_input, and | 22 // HttpParser - Parses an HTTP stream provided via Process and end_of_input, and |
23 // generates events for: | 23 // generates events for: |
24 // Structural Elements: Leader, Headers, Document Data | 24 // Structural Elements: Leader, Headers, Document Data |
25 // Events: End of Headers, End of Document, Errors | 25 // Events: End of Headers, End of Document, Errors |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 bool ignore_data_, chunk_data_; | 179 bool ignore_data_, chunk_data_; |
180 HttpData::const_iterator header_; | 180 HttpData::const_iterator header_; |
181 }; | 181 }; |
182 | 182 |
183 /////////////////////////////////////////////////////////////////////////////// | 183 /////////////////////////////////////////////////////////////////////////////// |
184 | 184 |
185 } // namespace rtc | 185 } // namespace rtc |
186 | 186 |
187 #endif // WEBRTC_RTC_BASE_HTTPBASE_H_ | 187 #endif // WEBRTC_RTC_BASE_HTTPBASE_H_ |
OLD | NEW |