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

Side by Side Diff: Source/platform/exported/WebRTCSessionDescription.cpp

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue 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
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 "public/platform/WebString.h" 35 #include "public/platform/WebString.h"
36 #include "wtf/PassRefPtr.h" 36 #include "wtf/PassRefPtr.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class WebRTCSessionDescriptionPrivate FINAL : public RefCounted<WebRTCSessionDes criptionPrivate> { 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 blink 108 } // namespace blink
109 109
OLDNEW
« no previous file with comments | « Source/platform/exported/WebRTCICECandidate.cpp ('k') | Source/platform/exported/WebSourceInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698