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

Side by Side Diff: Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 28 matching lines...) Expand all
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class RTCErrorCallback; 42 class RTCErrorCallback;
43 class RTCPeerConnection; 43 class RTCPeerConnection;
44 class RTCSessionDescriptionCallback; 44 class RTCSessionDescriptionCallback;
45 class WebRTCSessionDescription; 45 class WebRTCSessionDescription;
46 46
47 class RTCSessionDescriptionRequestImpl FINAL : public RTCSessionDescriptionReque st, public ActiveDOMObject { 47 class RTCSessionDescriptionRequestImpl FINAL : public RTCSessionDescriptionReque st, public ActiveDOMObject {
48 public: 48 public:
49 static RTCSessionDescriptionRequestImpl* create(ExecutionContext*, RTCPeerCo nnection*, PassOwnPtrWillBeRawPtr<RTCSessionDescriptionCallback>, PassOwnPtrWill BeRawPtr<RTCErrorCallback>); 49 static RTCSessionDescriptionRequestImpl* create(ExecutionContext*, RTCPeerCo nnection*, RTCSessionDescriptionCallback*, RTCErrorCallback*);
50 virtual ~RTCSessionDescriptionRequestImpl(); 50 virtual ~RTCSessionDescriptionRequestImpl();
51 51
52 virtual void requestSucceeded(const WebRTCSessionDescription&) OVERRIDE; 52 virtual void requestSucceeded(const WebRTCSessionDescription&) OVERRIDE;
53 virtual void requestFailed(const String& error) OVERRIDE; 53 virtual void requestFailed(const String& error) OVERRIDE;
54 54
55 // ActiveDOMObject 55 // ActiveDOMObject
56 virtual void stop() OVERRIDE; 56 virtual void stop() OVERRIDE;
57 57
58 virtual void trace(Visitor*) OVERRIDE; 58 virtual void trace(Visitor*) OVERRIDE;
59 59
60 private: 60 private:
61 RTCSessionDescriptionRequestImpl(ExecutionContext*, RTCPeerConnection*, Pass OwnPtrWillBeRawPtr<RTCSessionDescriptionCallback>, PassOwnPtrWillBeRawPtr<RTCErr orCallback>); 61 RTCSessionDescriptionRequestImpl(ExecutionContext*, RTCPeerConnection*, RTCS essionDescriptionCallback*, RTCErrorCallback*);
62 62
63 void clear(); 63 void clear();
64 64
65 OwnPtrWillBeMember<RTCSessionDescriptionCallback> m_successCallback; 65 Member<RTCSessionDescriptionCallback> m_successCallback;
66 OwnPtrWillBeMember<RTCErrorCallback> m_errorCallback; 66 Member<RTCErrorCallback> m_errorCallback;
67 Member<RTCPeerConnection> m_requester; 67 Member<RTCPeerConnection> m_requester;
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // RTCSessionDescriptionRequestImpl_h 72 #endif // RTCSessionDescriptionRequestImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698