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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
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 14 matching lines...) Expand all
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef EventSource_h 32 #ifndef EventSource_h
33 #define EventSource_h 33 #define EventSource_h
34 34
35 #include <memory>
35 #include "bindings/core/v8/ActiveScriptWrappable.h" 36 #include "bindings/core/v8/ActiveScriptWrappable.h"
36 #include "core/dom/ContextLifecycleObserver.h" 37 #include "core/dom/ContextLifecycleObserver.h"
37 #include "core/events/EventTarget.h" 38 #include "core/events/EventTarget.h"
38 #include "core/loader/ThreadableLoader.h" 39 #include "core/loader/ThreadableLoader.h"
39 #include "core/loader/ThreadableLoaderClient.h" 40 #include "core/loader/ThreadableLoaderClient.h"
40 #include "modules/ModulesExport.h" 41 #include "modules/ModulesExport.h"
41 #include "modules/eventsource/EventSourceParser.h" 42 #include "modules/eventsource/EventSourceParser.h"
42 #include "platform/Timer.h" 43 #include "platform/Timer.h"
43 #include "platform/heap/Handle.h" 44 #include "platform/heap/Handle.h"
44 #include "platform/weborigin/KURL.h" 45 #include "platform/weborigin/KURL.h"
45 #include "wtf/Forward.h" 46 #include "wtf/Forward.h"
46 #include <memory>
47 47
48 namespace blink { 48 namespace blink {
49 49
50 class EventSourceInit; 50 class EventSourceInit;
51 class ExceptionState; 51 class ExceptionState;
52 class ResourceResponse; 52 class ResourceResponse;
53 53
54 class MODULES_EXPORT EventSource final 54 class MODULES_EXPORT EventSource final
55 : public EventTargetWithInlineData, 55 : public EventTargetWithInlineData,
56 private ThreadableLoaderClient, 56 private ThreadableLoaderClient,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 Member<ThreadableLoader> m_loader; 139 Member<ThreadableLoader> m_loader;
140 TaskRunnerTimer<EventSource> m_connectTimer; 140 TaskRunnerTimer<EventSource> m_connectTimer;
141 141
142 unsigned long long m_reconnectDelay; 142 unsigned long long m_reconnectDelay;
143 String m_eventStreamOrigin; 143 String m_eventStreamOrigin;
144 }; 144 };
145 145
146 } // namespace blink 146 } // namespace blink
147 147
148 #endif // EventSource_h 148 #endif // EventSource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698