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

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

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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 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 24 matching lines...) Expand all
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 #include "public/platform/WebRTCSessionDescription.h" 38 #include "public/platform/WebRTCSessionDescription.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class Dictionary; 42 class Dictionary;
43 class ExceptionState; 43 class ExceptionState;
44 44
45 class RTCSessionDescription FINAL : public RefCounted<RTCSessionDescription>, pu blic ScriptWrappable { 45 class RTCSessionDescription FINAL : public RefCountedWillBeGarbageCollectedFinal ized<RTCSessionDescription>, public ScriptWrappable {
46 public: 46 public:
47 static PassRefPtr<RTCSessionDescription> create(const Dictionary&, Exception State&); 47 static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(const Dictionary &, ExceptionState&);
48 static PassRefPtr<RTCSessionDescription> create(blink::WebRTCSessionDescript ion); 48 static PassRefPtrWillBeRawPtr<RTCSessionDescription> create(blink::WebRTCSes sionDescription);
49 49
50 String type(); 50 String type();
51 void setType(const String&, ExceptionState&); 51 void setType(const String&, ExceptionState&);
52 52
53 String sdp(); 53 String sdp();
54 void setSdp(const String&); 54 void setSdp(const String&);
55 55
56 blink::WebRTCSessionDescription webSessionDescription(); 56 blink::WebRTCSessionDescription webSessionDescription();
57 57
58 void trace(Visitor*) { }
59
58 private: 60 private:
59 explicit RTCSessionDescription(blink::WebRTCSessionDescription); 61 explicit RTCSessionDescription(blink::WebRTCSessionDescription);
60 62
61 blink::WebRTCSessionDescription m_webSessionDescription; 63 blink::WebRTCSessionDescription m_webSessionDescription;
62 }; 64 };
63 65
64 } // namespace WebCore 66 } // namespace WebCore
65 67
66 #endif // RTCSessionDescription_h 68 #endif // RTCSessionDescription_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.idl ('k') | Source/modules/mediastream/RTCSessionDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698