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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 21 matching lines...) Expand all
32 32
33 #include "modules/mediastream/RTCSessionDescriptionRequestImpl.h" 33 #include "modules/mediastream/RTCSessionDescriptionRequestImpl.h"
34 34
35 #include "modules/mediastream/RTCErrorCallback.h" 35 #include "modules/mediastream/RTCErrorCallback.h"
36 #include "modules/mediastream/RTCPeerConnection.h" 36 #include "modules/mediastream/RTCPeerConnection.h"
37 #include "modules/mediastream/RTCSessionDescription.h" 37 #include "modules/mediastream/RTCSessionDescription.h"
38 #include "modules/mediastream/RTCSessionDescriptionCallback.h" 38 #include "modules/mediastream/RTCSessionDescriptionCallback.h"
39 #include "public/platform/WebRTCSessionDescription.h" 39 #include "public/platform/WebRTCSessionDescription.h"
40 #include "wtf/RefPtr.h" 40 #include "wtf/RefPtr.h"
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 PassRefPtr<RTCSessionDescriptionRequestImpl> RTCSessionDescriptionRequestImpl::c reate(ExecutionContext* context, RTCPeerConnection* requester, PassOwnPtr<RTCSes sionDescriptionCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCall back) 44 PassRefPtr<RTCSessionDescriptionRequestImpl> RTCSessionDescriptionRequestImpl::c reate(ExecutionContext* context, RTCPeerConnection* requester, PassOwnPtr<RTCSes sionDescriptionCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCall back)
45 { 45 {
46 RefPtr<RTCSessionDescriptionRequestImpl> request = adoptRef(new RTCSessionDe scriptionRequestImpl(context, requester, successCallback, errorCallback)); 46 RefPtr<RTCSessionDescriptionRequestImpl> request = adoptRef(new RTCSessionDe scriptionRequestImpl(context, requester, successCallback, errorCallback));
47 request->suspendIfNeeded(); 47 request->suspendIfNeeded();
48 return request.release(); 48 return request.release();
49 } 49 }
50 50
51 RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl(ExecutionCont ext* context, RTCPeerConnection* requester, PassOwnPtr<RTCSessionDescriptionCall back> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback) 51 RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl(ExecutionCont ext* context, RTCPeerConnection* requester, PassOwnPtr<RTCSessionDescriptionCall back> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback)
52 : ActiveDOMObject(context) 52 : ActiveDOMObject(context)
(...skipping 30 matching lines...) Expand all
83 clear(); 83 clear();
84 } 84 }
85 85
86 void RTCSessionDescriptionRequestImpl::clear() 86 void RTCSessionDescriptionRequestImpl::clear()
87 { 87 {
88 m_successCallback.clear(); 88 m_successCallback.clear();
89 m_errorCallback.clear(); 89 m_errorCallback.clear();
90 m_requester.clear(); 90 m_requester.clear();
91 } 91 }
92 92
93 } // namespace WebCore 93 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h ('k') | Source/modules/mediastream/RTCStatsCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698