Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: third_party/WebKit/Source/modules/eventsource/EventSource.h

Issue 2641003004: Move EventSource timer to frame-specific TaskRunnerTimer. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/eventsource/EventSource.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // for the 'url' attribute getter. 127 // for the 'url' attribute getter.
128 const KURL m_url; 128 const KURL m_url;
129 // The URL used to connect to the server, which may be different from 129 // The URL used to connect to the server, which may be different from
130 // |m_url| as it may be redirected. 130 // |m_url| as it may be redirected.
131 KURL m_currentURL; 131 KURL m_currentURL;
132 bool m_withCredentials; 132 bool m_withCredentials;
133 State m_state; 133 State m_state;
134 134
135 Member<EventSourceParser> m_parser; 135 Member<EventSourceParser> m_parser;
136 Member<ThreadableLoader> m_loader; 136 Member<ThreadableLoader> m_loader;
137 Timer<EventSource> m_connectTimer; 137 TaskRunnerTimer<EventSource> m_connectTimer;
138 138
139 unsigned long long m_reconnectDelay; 139 unsigned long long m_reconnectDelay;
140 String m_eventStreamOrigin; 140 String m_eventStreamOrigin;
141 }; 141 };
142 142
143 } // namespace blink 143 } // namespace blink
144 144
145 #endif // EventSource_h 145 #endif // EventSource_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/eventsource/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698