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

Side by Side Diff: Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 namespace blink { 37 namespace blink {
38 class WebRTCSessionDescription; 38 class WebRTCSessionDescription;
39 } 39 }
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 class RTCErrorCallback; 43 class RTCErrorCallback;
44 class RTCPeerConnection; 44 class RTCPeerConnection;
45 class RTCSessionDescriptionCallback; 45 class RTCSessionDescriptionCallback;
46 46
47 class RTCSessionDescriptionRequestImpl : public RTCSessionDescriptionRequest, pu blic ActiveDOMObject { 47 class RTCSessionDescriptionRequestImpl FINAL : public RTCSessionDescriptionReque st, public ActiveDOMObject {
48 public: 48 public:
49 static PassRefPtr<RTCSessionDescriptionRequestImpl> create(ExecutionContext* , PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>); 49 static PassRefPtr<RTCSessionDescriptionRequestImpl> create(ExecutionContext* , PassOwnPtr<RTCSessionDescriptionCallback>, PassOwnPtr<RTCErrorCallback>);
50 virtual ~RTCSessionDescriptionRequestImpl(); 50 virtual ~RTCSessionDescriptionRequestImpl();
51 51
52 virtual void requestSucceeded(const blink::WebRTCSessionDescription&) OVERRI DE; 52 virtual void requestSucceeded(const blink::WebRTCSessionDescription&) OVERRI DE;
53 virtual void requestFailed(const String& error) OVERRIDE; 53 virtual void requestFailed(const String& error) OVERRIDE;
54 54
55 // ActiveDOMObject 55 // ActiveDOMObject
56 virtual void stop() OVERRIDE; 56 virtual void stop() OVERRIDE;
57 57
58 private: 58 private:
59 RTCSessionDescriptionRequestImpl(ExecutionContext*, PassOwnPtr<RTCSessionDes criptionCallback>, PassOwnPtr<RTCErrorCallback>); 59 RTCSessionDescriptionRequestImpl(ExecutionContext*, PassOwnPtr<RTCSessionDes criptionCallback>, PassOwnPtr<RTCErrorCallback>);
60 60
61 void clear(); 61 void clear();
62 62
63 OwnPtr<RTCSessionDescriptionCallback> m_successCallback; 63 OwnPtr<RTCSessionDescriptionCallback> m_successCallback;
64 OwnPtr<RTCErrorCallback> m_errorCallback; 64 OwnPtr<RTCErrorCallback> m_errorCallback;
65 }; 65 };
66 66
67 } // namespace WebCore 67 } // namespace WebCore
68 68
69 #endif // RTCSessionDescriptionRequestImpl_h 69 #endif // RTCSessionDescriptionRequestImpl_h
70 70
71 71
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.h ('k') | Source/modules/mediastream/RTCStatsRequestImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698