OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "public/platform/WebMediaStream.h" | 43 #include "public/platform/WebMediaStream.h" |
44 #include "public/platform/WebMediaStreamSource.h" | 44 #include "public/platform/WebMediaStreamSource.h" |
45 #include "public/platform/WebString.h" | 45 #include "public/platform/WebString.h" |
46 #include "public/platform/WebVector.h" | 46 #include "public/platform/WebVector.h" |
47 #include "wtf/Vector.h" | 47 #include "wtf/Vector.h" |
48 | 48 |
49 using namespace WebCore; | 49 using namespace WebCore; |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 WebUserMediaRequest::WebUserMediaRequest(const PassRefPtr<UserMediaRequest>& req
uest) | 53 WebUserMediaRequest::WebUserMediaRequest(const PassRefPtrWillBeRawPtr<UserMediaR
equest>& request) |
54 : m_private(request) | 54 : m_private(request) |
55 { | 55 { |
56 } | 56 } |
57 | 57 |
58 WebUserMediaRequest::WebUserMediaRequest(UserMediaRequest* request) | 58 WebUserMediaRequest::WebUserMediaRequest(UserMediaRequest* request) |
59 : m_private(request) | 59 : m_private(request) |
60 { | 60 { |
61 } | 61 } |
62 | 62 |
63 void WebUserMediaRequest::reset() | 63 void WebUserMediaRequest::reset() |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 { | 136 { |
137 m_private = other.m_private; | 137 m_private = other.m_private; |
138 } | 138 } |
139 | 139 |
140 WebUserMediaRequest::operator UserMediaRequest*() const | 140 WebUserMediaRequest::operator UserMediaRequest*() const |
141 { | 141 { |
142 return m_private.get(); | 142 return m_private.get(); |
143 } | 143 } |
144 | 144 |
145 } // namespace blink | 145 } // namespace blink |
OLD | NEW |