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

Side by Side Diff: Source/platform/exported/WebSourceInfo.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/platform/exported/WebRTCICECandidate.cpp ('k') | 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #include "config.h" 26 #include "config.h"
27 27
28 #include "public/platform/WebSourceInfo.h" 28 #include "public/platform/WebSourceInfo.h"
29 29
30 #include "public/platform/WebString.h" 30 #include "public/platform/WebString.h"
31 #include "wtf/PassRefPtr.h" 31 #include "wtf/PassRefPtr.h"
32 #include "wtf/RefCounted.h" 32 #include "wtf/RefCounted.h"
33 33
34 namespace WebKit { 34 namespace WebKit {
35 35
36 class WebSourceInfoPrivate : public RefCounted<WebSourceInfoPrivate> { 36 class WebSourceInfoPrivate FINAL : public RefCounted<WebSourceInfoPrivate> {
37 public: 37 public:
38 static PassRefPtr<WebSourceInfoPrivate> create(const WebString& id, WebSourc eInfo::SourceKind, const WebString& label, WebSourceInfo::VideoFacingMode); 38 static PassRefPtr<WebSourceInfoPrivate> create(const WebString& id, WebSourc eInfo::SourceKind, const WebString& label, WebSourceInfo::VideoFacingMode);
39 39
40 const WebString& id() const { return m_id; } 40 const WebString& id() const { return m_id; }
41 WebSourceInfo::SourceKind kind() const { return m_kind; } 41 WebSourceInfo::SourceKind kind() const { return m_kind; }
42 const WebString& label() const { return m_label; } 42 const WebString& label() const { return m_label; }
43 WebSourceInfo::VideoFacingMode facing() const { return m_facing; } 43 WebSourceInfo::VideoFacingMode facing() const { return m_facing; }
44 44
45 private: 45 private:
46 WebSourceInfoPrivate(const WebString& id, WebSourceInfo::SourceKind, const W ebString& label, WebSourceInfo::VideoFacingMode); 46 WebSourceInfoPrivate(const WebString& id, WebSourceInfo::SourceKind, const W ebString& label, WebSourceInfo::VideoFacingMode);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 WebSourceInfo::VideoFacingMode WebSourceInfo::facing() const 100 WebSourceInfo::VideoFacingMode WebSourceInfo::facing() const
101 { 101 {
102 ASSERT(!m_private.isNull()); 102 ASSERT(!m_private.isNull());
103 return m_private->facing(); 103 return m_private->facing();
104 } 104 }
105 105
106 } // namespace WebKit 106 } // namespace WebKit
107 107
OLDNEW
« no previous file with comments | « Source/platform/exported/WebRTCICECandidate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698