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

Side by Side Diff: third_party/WebKit/Source/core/page/EventSource.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 * 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 void EventSource::didFailRedirectCheck() 311 void EventSource::didFailRedirectCheck()
312 { 312 {
313 ASSERT(m_loader); 313 ASSERT(m_loader);
314 314
315 abortConnectionAttempt(); 315 abortConnectionAttempt();
316 } 316 }
317 317
318 void EventSource::onMessageEvent(const AtomicString& eventType, const String& da ta, const AtomicString& lastEventId) 318 void EventSource::onMessageEvent(const AtomicString& eventType, const String& da ta, const AtomicString& lastEventId)
319 { 319 {
320 RefPtrWillBeRawPtr<MessageEvent> e = MessageEvent::create(); 320 RawPtr<MessageEvent> e = MessageEvent::create();
321 e->initMessageEvent(eventType, false, false, SerializedScriptValueFactory::i nstance().create(data), m_eventStreamOrigin, lastEventId, 0, nullptr); 321 e->initMessageEvent(eventType, false, false, SerializedScriptValueFactory::i nstance().create(data), m_eventStreamOrigin, lastEventId, 0, nullptr);
322 322
323 InspectorInstrumentation::willDispatchEventSourceEvent(getExecutionContext() , this, eventType, lastEventId, data); 323 InspectorInstrumentation::willDispatchEventSourceEvent(getExecutionContext() , this, eventType, lastEventId, data);
324 dispatchEvent(e); 324 dispatchEvent(e);
325 } 325 }
326 326
327 void EventSource::onReconnectionTimeSet(unsigned long long reconnectionTime) 327 void EventSource::onReconnectionTimeSet(unsigned long long reconnectionTime)
328 { 328 {
329 m_reconnectDelay = reconnectionTime; 329 m_reconnectDelay = reconnectionTime;
330 } 330 }
(...skipping 21 matching lines...) Expand all
352 352
353 DEFINE_TRACE(EventSource) 353 DEFINE_TRACE(EventSource)
354 { 354 {
355 visitor->trace(m_parser); 355 visitor->trace(m_parser);
356 RefCountedGarbageCollectedEventTargetWithInlineData::trace(visitor); 356 RefCountedGarbageCollectedEventTargetWithInlineData::trace(visitor);
357 ActiveDOMObject::trace(visitor); 357 ActiveDOMObject::trace(visitor);
358 EventSourceParser::Client::trace(visitor); 358 EventSourceParser::Client::trace(visitor);
359 } 359 }
360 360
361 } // namespace blink 361 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/DragState.h ('k') | third_party/WebKit/Source/core/page/FocusController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698