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

Unified Diff: Source/core/page/EventSource.h

Issue 561533002: Add EventSourceInit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/page/EventSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventSource.h
diff --git a/Source/core/page/EventSource.h b/Source/core/page/EventSource.h
index 4c6cd6def53f17c97e83753adb538b5f4c679be6..9d1e1292ff336e99a4926d4db9a4c860915cdd08 100644
--- a/Source/core/page/EventSource.h
+++ b/Source/core/page/EventSource.h
@@ -43,7 +43,7 @@
namespace blink {
-class Dictionary;
+class EventSourceInit;
class ExceptionState;
class MessageEvent;
class ResourceResponse;
@@ -56,7 +56,7 @@ class EventSource FINAL : public RefCountedWillBeGarbageCollectedFinalized<Event
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(EventSource);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- static PassRefPtrWillBeRawPtr<EventSource> create(ExecutionContext*, const String& url, const Dictionary&, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<EventSource> create(ExecutionContext*, const String& url, const EventSourceInit*, ExceptionState&);
virtual ~EventSource();
static const unsigned long long defaultReconnectDelay;
@@ -91,7 +91,7 @@ public:
virtual bool hasPendingActivity() const OVERRIDE;
private:
- EventSource(ExecutionContext*, const KURL&, const Dictionary&);
+ EventSource(ExecutionContext*, const KURL&, const EventSourceInit*);
virtual void didReceiveResponse(unsigned long, const ResourceResponse&) OVERRIDE;
virtual void didReceiveData(const char*, int) OVERRIDE;
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698