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

Side by Side Diff: Source/platform/exported/WebSourceInfo.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) 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 blink { 34 namespace blink {
35 35
36 class WebSourceInfoPrivate FINAL : 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 blink 106 } // namespace blink
107 107
OLDNEW
« no previous file with comments | « Source/platform/exported/WebRTCSessionDescription.cpp ('k') | Source/platform/exported/WebSpeechSynthesizerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698