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

Side by Side Diff: Source/core/platform/mediastream/RTCDataChannelHandler.h

Issue 132233004: Update remaining core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 * 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 17 matching lines...) Expand all
28 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h" 28 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h"
29 #include "public/platform/WebRTCDataChannelHandler.h" 29 #include "public/platform/WebRTCDataChannelHandler.h"
30 #include "public/platform/WebRTCDataChannelHandlerClient.h" 30 #include "public/platform/WebRTCDataChannelHandlerClient.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 #include "wtf/PassOwnPtr.h" 32 #include "wtf/PassOwnPtr.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class RTCDataChannelHandlerClient; 36 class RTCDataChannelHandlerClient;
37 37
38 class RTCDataChannelHandler : public blink::WebRTCDataChannelHandlerClient { 38 class RTCDataChannelHandler FINAL : public blink::WebRTCDataChannelHandlerClient {
39 public: 39 public:
40 static PassOwnPtr<RTCDataChannelHandler> create(blink::WebRTCDataChannelHand ler*); 40 static PassOwnPtr<RTCDataChannelHandler> create(blink::WebRTCDataChannelHand ler*);
41 virtual ~RTCDataChannelHandler(); 41 virtual ~RTCDataChannelHandler();
42 42
43 void setClient(RTCDataChannelHandlerClient*); 43 void setClient(RTCDataChannelHandlerClient*);
44 44
45 String label() const; 45 String label() const;
46 46
47 // DEPRECATED 47 // DEPRECATED
48 bool isReliable() const; 48 bool isReliable() const;
(...skipping 19 matching lines...) Expand all
68 private: 68 private:
69 explicit RTCDataChannelHandler(blink::WebRTCDataChannelHandler*); 69 explicit RTCDataChannelHandler(blink::WebRTCDataChannelHandler*);
70 70
71 OwnPtr<blink::WebRTCDataChannelHandler> m_webHandler; 71 OwnPtr<blink::WebRTCDataChannelHandler> m_webHandler;
72 RTCDataChannelHandlerClient* m_client; 72 RTCDataChannelHandlerClient* m_client;
73 }; 73 };
74 74
75 } // namespace WebCore 75 } // namespace WebCore
76 76
77 #endif // RTCDataChannelHandler_h 77 #endif // RTCDataChannelHandler_h
OLDNEW
« no previous file with comments | « Source/core/platform/mediastream/MediaStreamCenter.h ('k') | Source/core/platform/mediastream/RTCPeerConnectionHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698