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

Side by Side Diff: Source/modules/mediasource/SourceBuffer.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 m_appendStreamTimer.stop(); 372 m_appendStreamTimer.stop();
373 } 373 }
374 374
375 ExecutionContext* SourceBuffer::executionContext() const 375 ExecutionContext* SourceBuffer::executionContext() const
376 { 376 {
377 return ActiveDOMObject::executionContext(); 377 return ActiveDOMObject::executionContext();
378 } 378 }
379 379
380 const AtomicString& SourceBuffer::interfaceName() const 380 const AtomicString& SourceBuffer::interfaceName() const
381 { 381 {
382 return eventNames().interfaceForSourceBuffer; 382 return EventTargetNames::SourceBuffer;
383 } 383 }
384 384
385 bool SourceBuffer::isRemoved() const 385 bool SourceBuffer::isRemoved() const
386 { 386 {
387 return !m_source; 387 return !m_source;
388 } 388 }
389 389
390 void SourceBuffer::scheduleEvent(const AtomicString& eventName) 390 void SourceBuffer::scheduleEvent(const AtomicString& eventName)
391 { 391 {
392 ASSERT(m_asyncEventQueue); 392 ASSERT(m_asyncEventQueue);
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 appendStreamDone(true); 616 appendStreamDone(true);
617 } 617 }
618 618
619 void SourceBuffer::didFail(FileError::ErrorCode errorCode) 619 void SourceBuffer::didFail(FileError::ErrorCode errorCode)
620 { 620 {
621 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this); 621 LOG(Media, "SourceBuffer::didFail(%d) %p", errorCode, this);
622 appendStreamDone(false); 622 appendStreamDone(false);
623 } 623 }
624 624
625 } // namespace WebCore 625 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/mediasource/MediaSource.cpp ('k') | Source/modules/mediasource/SourceBufferList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698