| OLD | NEW |
| 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 * Copyright (C) 2011, Code Aurora Forum. All rights reserved. | 4 * Copyright (C) 2011, Code Aurora Forum. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "EventSource.h" | 34 #include "EventSource.h" |
| 35 | 35 |
| 36 #include "ContentSecurityPolicy.h" | 36 #include "ContentSecurityPolicy.h" |
| 37 #include "DOMWindow.h" | 37 #include "DOMWindow.h" |
| 38 #include "Dictionary.h" | 38 #include "Dictionary.h" |
| 39 #include "Document.h" | 39 #include "Document.h" |
| 40 #include "Event.h" | 40 #include "Event.h" |
| 41 #include "EventException.h" | 41 #include "EventException.h" |
| 42 #include "ExceptionCode.h" | 42 #include "ExceptionCode.h" |
| 43 #include "Frame.h" | 43 #include "Frame.h" |
| 44 #include "MemoryCache.h" | |
| 45 #include "MessageEvent.h" | 44 #include "MessageEvent.h" |
| 46 #include "ScriptCallStack.h" | 45 #include "ScriptCallStack.h" |
| 47 #include "ScriptController.h" | 46 #include "ScriptController.h" |
| 48 #include "ScriptExecutionContext.h" | 47 #include "ScriptExecutionContext.h" |
| 49 #include "SecurityOrigin.h" | 48 #include "SecurityOrigin.h" |
| 50 #include "SerializedScriptValue.h" | 49 #include "SerializedScriptValue.h" |
| 51 #include "core/loader/TextResourceDecoder.h" | 50 #include "core/loader/TextResourceDecoder.h" |
| 52 #include "core/loader/ThreadableLoader.h" | 51 #include "core/loader/ThreadableLoader.h" |
| 52 #include "core/loader/cache/MemoryCache.h" |
| 53 #include "core/platform/network/ResourceError.h" | 53 #include "core/platform/network/ResourceError.h" |
| 54 #include "core/platform/network/ResourceRequest.h" | 54 #include "core/platform/network/ResourceRequest.h" |
| 55 #include "core/platform/network/ResourceResponse.h" | 55 #include "core/platform/network/ResourceResponse.h" |
| 56 #include <wtf/text/StringBuilder.h> | 56 #include <wtf/text/StringBuilder.h> |
| 57 | 57 |
| 58 namespace WebCore { | 58 namespace WebCore { |
| 59 | 59 |
| 60 const unsigned long long EventSource::defaultReconnectDelay = 3000; | 60 const unsigned long long EventSource::defaultReconnectDelay = 3000; |
| 61 | 61 |
| 62 inline EventSource::EventSource(ScriptExecutionContext* context, const KURL& url
, const Dictionary& eventSourceInit) | 62 inline EventSource::EventSource(ScriptExecutionContext* context, const KURL& url
, const Dictionary& eventSourceInit) |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 { | 423 { |
| 424 return &m_eventTargetData; | 424 return &m_eventTargetData; |
| 425 } | 425 } |
| 426 | 426 |
| 427 EventTargetData* EventSource::ensureEventTargetData() | 427 EventTargetData* EventSource::ensureEventTargetData() |
| 428 { | 428 { |
| 429 return &m_eventTargetData; | 429 return &m_eventTargetData; |
| 430 } | 430 } |
| 431 | 431 |
| 432 } // namespace WebCore | 432 } // namespace WebCore |
| OLD | NEW |