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

Side by Side Diff: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaConstraints.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 virtual bool initialize(const WebRTCConfiguration&, const WebMediaConstraint s&) = 0; 55 virtual bool initialize(const WebRTCConfiguration&, const WebMediaConstraint s&) = 0;
56 56
57 virtual void createOffer(const WebRTCSessionDescriptionRequest&, const WebMe diaConstraints&) = 0; 57 virtual void createOffer(const WebRTCSessionDescriptionRequest&, const WebMe diaConstraints&) = 0;
58 virtual void createOffer(const WebRTCSessionDescriptionRequest&, const WebRT COfferOptions&) { } 58 virtual void createOffer(const WebRTCSessionDescriptionRequest&, const WebRT COfferOptions&) { }
59 virtual void createAnswer(const WebRTCSessionDescriptionRequest&, const WebM ediaConstraints&) = 0; 59 virtual void createAnswer(const WebRTCSessionDescriptionRequest&, const WebM ediaConstraints&) = 0;
60 virtual void setLocalDescription(const WebRTCVoidRequest&, const WebRTCSessi onDescription&) = 0; 60 virtual void setLocalDescription(const WebRTCVoidRequest&, const WebRTCSessi onDescription&) = 0;
61 virtual void setRemoteDescription(const WebRTCVoidRequest&, const WebRTCSess ionDescription&) = 0; 61 virtual void setRemoteDescription(const WebRTCVoidRequest&, const WebRTCSess ionDescription&) = 0;
62 virtual WebRTCSessionDescription localDescription() = 0; 62 virtual WebRTCSessionDescription localDescription() = 0;
63 virtual WebRTCSessionDescription remoteDescription() = 0; 63 virtual WebRTCSessionDescription remoteDescription() = 0;
64 virtual bool updateICE(const WebRTCConfiguration&, const WebMediaConstraints &) = 0; 64 virtual bool updateICE(const WebRTCConfiguration&) = 0;
65 65
66 // DEPRECATED 66 // DEPRECATED
67 virtual bool addICECandidate(const WebRTCICECandidate&) { return false; } 67 virtual bool addICECandidate(const WebRTCICECandidate&) { return false; }
68 68
69 virtual bool addICECandidate(const WebRTCVoidRequest&, const WebRTCICECandid ate&) { return false; } 69 virtual bool addICECandidate(const WebRTCVoidRequest&, const WebRTCICECandid ate&) { return false; }
70 virtual bool addStream(const WebMediaStream&, const WebMediaConstraints&) = 0; 70 virtual bool addStream(const WebMediaStream&, const WebMediaConstraints&) = 0;
71 virtual void removeStream(const WebMediaStream&) = 0; 71 virtual void removeStream(const WebMediaStream&) = 0;
72 virtual void getStats(const WebRTCStatsRequest&) = 0; 72 virtual void getStats(const WebRTCStatsRequest&) = 0;
73 virtual WebRTCDataChannelHandler* createDataChannel(const WebString& label, const WebRTCDataChannelInit&) = 0; 73 virtual WebRTCDataChannelHandler* createDataChannel(const WebString& label, const WebRTCDataChannelInit&) = 0;
74 virtual WebRTCDTMFSenderHandler* createDTMFSender(const WebMediaStreamTrack& ) = 0; 74 virtual WebRTCDTMFSenderHandler* createDTMFSender(const WebMediaStreamTrack& ) = 0;
75 virtual void stop() = 0; 75 virtual void stop() = 0;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // WebRTCPeerConnectionHandler_h 80 #endif // WebRTCPeerConnectionHandler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaConstraints.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698