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

Side by Side Diff: Source/core/platform/chromium/support/WebRTCSessionDescription.cpp

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/PageConsole.h ('k') | Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.h » ('j') | 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "public/platform/WebRTCSessionDescription.h" 33 #include "public/platform/WebRTCSessionDescription.h"
34 34
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "public/platform/WebString.h" 37 #include "public/platform/WebString.h"
38 38
39 namespace WebKit { 39 namespace WebKit {
40 40
41 class WebRTCSessionDescriptionPrivate : public RefCounted<WebRTCSessionDescripti onPrivate> { 41 class WebRTCSessionDescriptionPrivate FINAL : public RefCounted<WebRTCSessionDes criptionPrivate> {
42 public: 42 public:
43 static PassRefPtr<WebRTCSessionDescriptionPrivate> create(const WebString& t ype, const WebString& sdp); 43 static PassRefPtr<WebRTCSessionDescriptionPrivate> create(const WebString& t ype, const WebString& sdp);
44 44
45 WebString type() { return m_type; } 45 WebString type() { return m_type; }
46 void setType(const WebString& type) { m_type = type; } 46 void setType(const WebString& type) { m_type = type; }
47 47
48 WebString sdp() { return m_sdp; } 48 WebString sdp() { return m_sdp; }
49 void setSdp(const WebString& sdp) { m_sdp = sdp; } 49 void setSdp(const WebString& sdp) { m_sdp = sdp; }
50 50
51 private: 51 private:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 void WebRTCSessionDescription::setSDP(const WebString& sdp) 102 void WebRTCSessionDescription::setSDP(const WebString& sdp)
103 { 103 {
104 ASSERT(!m_private.isNull()); 104 ASSERT(!m_private.isNull());
105 return m_private->setSdp(sdp); 105 return m_private->setSdp(sdp);
106 } 106 }
107 107
108 } // namespace WebKit 108 } // namespace WebKit
109 109
OLDNEW
« no previous file with comments | « Source/core/page/PageConsole.h ('k') | Source/core/platform/graphics/harfbuzz/HarfBuzzShaper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698