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

Side by Side Diff: third_party/WebKit/Source/core/page/EventSource.h

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "platform/weborigin/KURL.h" 43 #include "platform/weborigin/KURL.h"
44 #include "wtf/Forward.h" 44 #include "wtf/Forward.h"
45 #include "wtf/OwnPtr.h" 45 #include "wtf/OwnPtr.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class EventSourceInit; 49 class EventSourceInit;
50 class ExceptionState; 50 class ExceptionState;
51 class ResourceResponse; 51 class ResourceResponse;
52 52
53 class CORE_EXPORT EventSource final : public RefCountedGarbageCollectedEventTarg etWithInlineData<EventSource>, private ThreadableLoaderClient, public ActiveScri ptWrappable, public ActiveDOMObject, public EventSourceParser::Client { 53 class CORE_EXPORT EventSource final : public EventTargetWithInlineData, private ThreadableLoaderClient, public ActiveScriptWrappable, public ActiveDOMObject, pu blic EventSourceParser::Client {
54 DEFINE_WRAPPERTYPEINFO(); 54 DEFINE_WRAPPERTYPEINFO();
55 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(EventSource); 55 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(EventSource);
56 USING_GARBAGE_COLLECTED_MIXIN(EventSource); 56 USING_GARBAGE_COLLECTED_MIXIN(EventSource);
57 public: 57 public:
58 static EventSource* create(ExecutionContext*, const String& url, const Event SourceInit&, ExceptionState&); 58 static EventSource* create(ExecutionContext*, const String& url, const Event SourceInit&, ExceptionState&);
59 ~EventSource() override; 59 ~EventSource() override;
60 60
61 static const unsigned long long defaultReconnectDelay; 61 static const unsigned long long defaultReconnectDelay;
62 62
63 String url() const; 63 String url() const;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 OwnPtr<ThreadableLoader> m_loader; 126 OwnPtr<ThreadableLoader> m_loader;
127 Timer<EventSource> m_connectTimer; 127 Timer<EventSource> m_connectTimer;
128 128
129 unsigned long long m_reconnectDelay; 129 unsigned long long m_reconnectDelay;
130 String m_eventStreamOrigin; 130 String m_eventStreamOrigin;
131 }; 131 };
132 132
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // EventSource_h 135 #endif // EventSource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698