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

Unified Diff: Source/modules/mediastream/RTCVoidRequestImpl.h

Issue 1152173003: Revert of Fix issue of localDescription and remoteDescription getter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/RTCVoidRequestImpl.h
diff --git a/Source/modules/mediastream/RTCVoidRequestImpl.h b/Source/modules/mediastream/RTCVoidRequestImpl.h
index de093092efbc0caf7adf760f2f77281dadf394c4..de20831d6d7aa9970615e34aee4dc07ef724692b 100644
--- a/Source/modules/mediastream/RTCVoidRequestImpl.h
+++ b/Source/modules/mediastream/RTCVoidRequestImpl.h
@@ -44,12 +44,7 @@
class RTCVoidRequestImpl final : public RTCVoidRequest, public ActiveDOMObject {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RTCVoidRequestImpl);
public:
- enum RequestType {
- RequestTypeNone,
- RequestTypeLocal,
- RequestTypeRemote
- };
- static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*, RequestType);
+ static RTCVoidRequestImpl* create(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*);
virtual ~RTCVoidRequestImpl();
// RTCVoidRequest
@@ -62,14 +57,13 @@
DECLARE_VIRTUAL_TRACE();
private:
- RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*, RequestType);
+ RTCVoidRequestImpl(ExecutionContext*, RTCPeerConnection*, VoidCallback*, RTCErrorCallback*);
void clear();
Member<VoidCallback> m_successCallback;
Member<RTCErrorCallback> m_errorCallback;
Member<RTCPeerConnection> m_requester;
- RequestType m_requestType;
};
} // namespace blink
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescription.idl ('k') | Source/modules/mediastream/RTCVoidRequestImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698