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

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

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 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 23 matching lines...) Expand all
34 #include "core/dom/ActiveDOMObject.h" 34 #include "core/dom/ActiveDOMObject.h"
35 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
36 #include "platform/mediastream/RTCVoidRequest.h" 36 #include "platform/mediastream/RTCVoidRequest.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class RTCErrorCallback; 40 class RTCErrorCallback;
41 class RTCPeerConnection; 41 class RTCPeerConnection;
42 class VoidCallback; 42 class VoidCallback;
43 43
44 class RTCVoidRequestImpl FINAL : public RTCVoidRequest, public ActiveDOMObject { 44 class RTCVoidRequestImpl final : public RTCVoidRequest, public ActiveDOMObject {
45 public: 45 public:
46 static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, Voi dCallback*, RTCErrorCallback*); 46 static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, Voi dCallback*, RTCErrorCallback*);
47 virtual ~RTCVoidRequestImpl(); 47 virtual ~RTCVoidRequestImpl();
48 48
49 // RTCVoidRequest 49 // RTCVoidRequest
50 virtual void requestSucceeded() OVERRIDE; 50 virtual void requestSucceeded() override;
51 virtual void requestFailed(const String& error) OVERRIDE; 51 virtual void requestFailed(const String& error) override;
52 52
53 // ActiveDOMObject 53 // ActiveDOMObject
54 virtual void stop() OVERRIDE; 54 virtual void stop() override;
55 55
56 virtual void trace(Visitor*) OVERRIDE; 56 virtual void trace(Visitor*) override;
57 57
58 private: 58 private:
59 RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTC ErrorCallback*); 59 RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTC ErrorCallback*);
60 60
61 void clear(); 61 void clear();
62 62
63 Member<VoidCallback> m_successCallback; 63 Member<VoidCallback> m_successCallback;
64 Member<RTCErrorCallback> m_errorCallback; 64 Member<RTCErrorCallback> m_errorCallback;
65 Member<RTCPeerConnection> m_requester; 65 Member<RTCPeerConnection> m_requester;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // RTCVoidRequestImpl_h 70 #endif // RTCVoidRequestImpl_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCStatsResponse.h ('k') | Source/modules/mediastream/UserMediaController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698