OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Ericsson AB. All rights reserved. | 2 * Copyright (C) 2009, 2012 Ericsson AB. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 KURL m_url; | 114 KURL m_url; |
115 bool m_withCredentials; | 115 bool m_withCredentials; |
116 State m_state; | 116 State m_state; |
117 | 117 |
118 OwnPtr<TextResourceDecoder> m_decoder; | 118 OwnPtr<TextResourceDecoder> m_decoder; |
119 RefPtr<ThreadableLoader> m_loader; | 119 RefPtr<ThreadableLoader> m_loader; |
120 Timer<EventSource> m_connectTimer; | 120 Timer<EventSource> m_connectTimer; |
121 Vector<UChar> m_receiveBuf; | 121 Vector<UChar> m_receiveBuf; |
122 bool m_discardTrailingNewline; | 122 bool m_discardTrailingNewline; |
123 bool m_requestInFlight; | |
124 | 123 |
125 AtomicString m_eventName; | 124 AtomicString m_eventName; |
126 Vector<UChar> m_data; | 125 Vector<UChar> m_data; |
127 AtomicString m_currentlyParsedEventId; | 126 AtomicString m_currentlyParsedEventId; |
128 AtomicString m_lastEventId; | 127 AtomicString m_lastEventId; |
129 unsigned long long m_reconnectDelay; | 128 unsigned long long m_reconnectDelay; |
130 String m_eventStreamOrigin; | 129 String m_eventStreamOrigin; |
131 }; | 130 }; |
132 | 131 |
133 } // namespace blink | 132 } // namespace blink |
134 | 133 |
135 #endif // EventSource_h | 134 #endif // EventSource_h |
OLD | NEW |