| 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;
|
|
|