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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 bool m_withCredentials; | 110 bool m_withCredentials; |
111 State m_state; | 111 State m_state; |
112 | 112 |
113 OwnPtr<TextResourceDecoder> m_decoder; | 113 OwnPtr<TextResourceDecoder> m_decoder; |
114 RefPtr<ThreadableLoader> m_loader; | 114 RefPtr<ThreadableLoader> m_loader; |
115 Timer<EventSource> m_connectTimer; | 115 Timer<EventSource> m_connectTimer; |
116 Vector<UChar> m_receiveBuf; | 116 Vector<UChar> m_receiveBuf; |
117 bool m_discardTrailingNewline; | 117 bool m_discardTrailingNewline; |
118 bool m_requestInFlight; | 118 bool m_requestInFlight; |
119 | 119 |
120 String m_eventName; | 120 AtomicString m_eventName; |
121 Vector<UChar> m_data; | 121 Vector<UChar> m_data; |
122 String m_currentlyParsedEventId; | 122 AtomicString m_currentlyParsedEventId; |
123 String m_lastEventId; | 123 AtomicString m_lastEventId; |
124 unsigned long long m_reconnectDelay; | 124 unsigned long long m_reconnectDelay; |
125 String m_eventStreamOrigin; | 125 String m_eventStreamOrigin; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace WebCore | 128 } // namespace WebCore |
129 | 129 |
130 #endif // EventSource_h | 130 #endif // EventSource_h |
OLD | NEW |