#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/modules/eventsource/event_source_parser.h"
#include "third_party/blink/renderer/core/event_type_names.h"
#include "third_party/blink/renderer/modules/eventsource/event_source.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/ascii_ctype.h"
#include "third_party/blink/renderer/platform/wtf/text/text_encoding.h"
#include "third_party/blink/renderer/platform/wtf/text/text_encoding_registry.h"
#include "third_party/blink/renderer/platform/wtf/wtf_size_t.h"
namespace blink {
EventSourceParser::EventSourceParser(const AtomicString& last_event_id,
Client* client)
: … { … }
void EventSourceParser::AddBytes(const char* bytes, uint32_t size) { … }
void EventSourceParser::ParseLine() { … }
String EventSourceParser::FromUTF8(const char* bytes, uint32_t size) { … }
void EventSourceParser::Trace(Visitor* visitor) const { … }
}