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

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

Issue 1179733009: Always enable Oilpan for EventSource. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: msvc compile fix Created 5 years, 5 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 | Annotate | Revision Log
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 43
44 namespace blink { 44 namespace blink {
45 45
46 class EventSourceInit; 46 class EventSourceInit;
47 class ExceptionState; 47 class ExceptionState;
48 class MessageEvent; 48 class MessageEvent;
49 class ResourceResponse; 49 class ResourceResponse;
50 class TextResourceDecoder; 50 class TextResourceDecoder;
51 class ThreadableLoader; 51 class ThreadableLoader;
52 52
53 class EventSource final : public EventTargetWithInlineData, public RefCountedWil lBeNoBase<EventSource>, private ThreadableLoaderClient, public ActiveDOMObject { 53 class EventSource final : public RefCountedGarbageCollectedEventTargetWithInline Data<EventSource>, private ThreadableLoaderClient, public ActiveDOMObject {
54 DEFINE_WRAPPERTYPEINFO(); 54 DEFINE_WRAPPERTYPEINFO();
55 REFCOUNTED_EVENT_TARGET(EventSource); 55 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(EventSource);
56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(EventSource); 56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(EventSource);
57 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(EventSource);
58 public: 57 public:
59 static PassRefPtrWillBeRawPtr<EventSource> create(ExecutionContext*, const S tring& url, const EventSourceInit&, ExceptionState&); 58 static EventSource* create(ExecutionContext*, const String& url, const Event SourceInit&, ExceptionState&);
60 virtual ~EventSource(); 59 virtual ~EventSource();
61 60
62 static const unsigned long long defaultReconnectDelay; 61 static const unsigned long long defaultReconnectDelay;
63 62
64 String url() const; 63 String url() const;
65 bool withCredentials() const; 64 bool withCredentials() const;
66 65
67 typedef short State; 66 typedef short State;
68 static const State CONNECTING = 0; 67 static const State CONNECTING = 0;
69 static const State OPEN = 1; 68 static const State OPEN = 1;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 Vector<UChar> m_data; 126 Vector<UChar> m_data;
128 AtomicString m_currentlyParsedEventId; 127 AtomicString m_currentlyParsedEventId;
129 AtomicString m_lastEventId; 128 AtomicString m_lastEventId;
130 unsigned long long m_reconnectDelay; 129 unsigned long long m_reconnectDelay;
131 String m_eventStreamOrigin; 130 String m_eventStreamOrigin;
132 }; 131 };
133 132
134 } // namespace blink 133 } // namespace blink
135 134
136 #endif // EventSource_h 135 #endif // EventSource_h
OLDNEW
« no previous file with comments | « Source/core/loader/WorkerLoaderClientBridgeSyncHelper.h ('k') | Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698