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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const String& keySystem() const { return m_keySystem; } 74 const String& keySystem() const { return m_keySystem; }
75 String sessionId() const; 75 String sessionId() const;
76 76
77 void setError(MediaKeyError*); 77 void setError(MediaKeyError*);
78 MediaKeyError* error() { return m_error.get(); } 78 MediaKeyError* error() { return m_error.get(); }
79 79
80 void initializeNewSession(const String& mimeType, const Uint8Array& initData ); 80 void initializeNewSession(const String& mimeType, const Uint8Array& initData );
81 void update(Uint8Array* response, ExceptionState&); 81 void update(Uint8Array* response, ExceptionState&);
82 void release(ExceptionState&); 82 void release(ExceptionState&);
83 83
84 void enqueueEvent(PassRefPtr<Event>); 84 void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
85 85
86 // EventTarget 86 // EventTarget
87 virtual const AtomicString& interfaceName() const OVERRIDE; 87 virtual const AtomicString& interfaceName() const OVERRIDE;
88 virtual ExecutionContext* executionContext() const OVERRIDE; 88 virtual ExecutionContext* executionContext() const OVERRIDE;
89 89
90 // ActiveDOMObject 90 // ActiveDOMObject
91 virtual bool hasPendingActivity() const OVERRIDE; 91 virtual bool hasPendingActivity() const OVERRIDE;
92 virtual void stop() OVERRIDE; 92 virtual void stop() OVERRIDE;
93 93
94 void trace(Visitor*) { } 94 void trace(Visitor*) { }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Is the CDM finished with this session? 131 // Is the CDM finished with this session?
132 bool m_isClosed; 132 bool m_isClosed;
133 133
134 Deque<OwnPtr<PendingAction> > m_pendingActions; 134 Deque<OwnPtr<PendingAction> > m_pendingActions;
135 Timer<MediaKeySession> m_actionTimer; 135 Timer<MediaKeySession> m_actionTimer;
136 }; 136 };
137 137
138 } 138 }
139 139
140 #endif // MediaKeySession_h 140 #endif // MediaKeySession_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698