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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeyMessageEvent.h

Issue 949093002: InlinedVisitor: Migrate encryptedmedia to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 static PassRefPtrWillBeRawPtr<MediaKeyMessageEvent> create(const AtomicStrin g& type, const MediaKeyMessageEventInit& initializer) 48 static PassRefPtrWillBeRawPtr<MediaKeyMessageEvent> create(const AtomicStrin g& type, const MediaKeyMessageEventInit& initializer)
49 { 49 {
50 return adoptRefWillBeNoop(new MediaKeyMessageEvent(type, initializer)); 50 return adoptRefWillBeNoop(new MediaKeyMessageEvent(type, initializer));
51 } 51 }
52 52
53 virtual const AtomicString& interfaceName() const override; 53 virtual const AtomicString& interfaceName() const override;
54 54
55 String messageType() const { return m_messageType; } 55 String messageType() const { return m_messageType; }
56 DOMArrayBuffer* message() const { return m_message.get(); } 56 DOMArrayBuffer* message() const { return m_message.get(); }
57 57
58 virtual void trace(Visitor*) override; 58 DECLARE_VIRTUAL_TRACE();
59 59
60 private: 60 private:
61 MediaKeyMessageEvent(); 61 MediaKeyMessageEvent();
62 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni t& initializer); 62 MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventIni t& initializer);
63 63
64 String m_messageType; 64 String m_messageType;
65 RefPtr<DOMArrayBuffer> m_message; 65 RefPtr<DOMArrayBuffer> m_message;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // MediaKeyMessageEvent_h 70 #endif // MediaKeyMessageEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698