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

Side by Side Diff: Source/platform/mediastream/RTCSessionDescriptionRequest.h

Issue 1227533004: Oilpan: Eagerly finalize RTCSessionDescriptionRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 }; 46 };
47 47
48 virtual ~RTCSessionDescriptionRequest() { } 48 virtual ~RTCSessionDescriptionRequest() { }
49 49
50 virtual void requestSucceeded(const WebRTCSessionDescription&) = 0; 50 virtual void requestSucceeded(const WebRTCSessionDescription&) = 0;
51 virtual void requestFailed(const String& error) = 0; 51 virtual void requestFailed(const String& error) = 0;
52 52
53 ExtraData* extraData() const { return m_extraData.get(); } 53 ExtraData* extraData() const { return m_extraData.get(); }
54 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; } 54 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; }
55 55
56 // Need to eagerly finalize ExtraData.
57 EAGERLY_FINALIZE();
56 DEFINE_INLINE_VIRTUAL_TRACE() { } 58 DEFINE_INLINE_VIRTUAL_TRACE() { }
57 59
58 protected: 60 protected:
59 RTCSessionDescriptionRequest() { } 61 RTCSessionDescriptionRequest() { }
60 62
61 private: 63 private:
62 OwnPtr<ExtraData> m_extraData; 64 OwnPtr<ExtraData> m_extraData;
63 }; 65 };
64 66
65 } // namespace blink 67 } // namespace blink
66 68
67 #endif // RTCSessionDescriptionRequest_h 69 #endif // RTCSessionDescriptionRequest_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698