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

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

Issue 44983002: Devirtualize several mediastream class destructors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
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 WebCore { 40 namespace WebCore {
41 41
42 class Dictionary; 42 class Dictionary;
43 class ExceptionState; 43 class ExceptionState;
44 44
45 class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public S criptWrappable { 45 class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public S criptWrappable {
46 public: 46 public:
47 static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception State&); 47 static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception State&);
48 static PassRefPtr<RTCSessionDescription> create(WebKit::WebRTCSessionDescrip tion); 48 static PassRefPtr<RTCSessionDescription> create(WebKit::WebRTCSessionDescrip tion);
49 virtual ~RTCSessionDescription();
50 49
51 String type(); 50 String type();
52 void setType(const String&, ExceptionState&); 51 void setType(const String&, ExceptionState&);
53 52
54 String sdp(); 53 String sdp();
55 void setSdp(const String&); 54 void setSdp(const String&);
56 55
57 WebKit::WebRTCSessionDescription webSessionDescription(); 56 WebKit::WebRTCSessionDescription webSessionDescription();
58 57
59 private: 58 private:
60 explicit RTCSessionDescription(WebKit::WebRTCSessionDescription); 59 explicit RTCSessionDescription(WebKit::WebRTCSessionDescription);
61 60
62 WebKit::WebRTCSessionDescription m_webSessionDescription; 61 WebKit::WebRTCSessionDescription m_webSessionDescription;
63 }; 62 };
64 63
65 } // namespace WebCore 64 } // namespace WebCore
66 65
67 #endif // RTCSessionDescription_h 66 #endif // RTCSessionDescription_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidate.cpp ('k') | Source/modules/mediastream/RTCSessionDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698