| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "platform/weborigin/SecurityOrigin.h" | 34 #include "platform/weborigin/SecurityOrigin.h" |
| 35 #include "public/platform/WebMediaDeviceInfo.h" | 35 #include "public/platform/WebMediaDeviceInfo.h" |
| 36 #include "public/platform/WebString.h" | 36 #include "public/platform/WebString.h" |
| 37 #include "public/platform/WebVector.h" | 37 #include "public/platform/WebVector.h" |
| 38 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
| 39 | 39 |
| 40 using namespace WebCore; | 40 using namespace WebCore; |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 WebMediaDevicesRequest::WebMediaDevicesRequest(const PassRefPtr<MediaDevicesRequ
est>& request) | 44 WebMediaDevicesRequest::WebMediaDevicesRequest(const PassRefPtrWillBeRawPtr<Medi
aDevicesRequest>& request) |
| 45 : m_private(request) | 45 : m_private(request) |
| 46 { | 46 { |
| 47 } | 47 } |
| 48 | 48 |
| 49 WebMediaDevicesRequest::WebMediaDevicesRequest(MediaDevicesRequest* request) | 49 WebMediaDevicesRequest::WebMediaDevicesRequest(MediaDevicesRequest* request) |
| 50 : m_private(request) | 50 : m_private(request) |
| 51 { | 51 { |
| 52 } | 52 } |
| 53 | 53 |
| 54 void WebMediaDevicesRequest::reset() | 54 void WebMediaDevicesRequest::reset() |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 { | 90 { |
| 91 m_private = other.m_private; | 91 m_private = other.m_private; |
| 92 } | 92 } |
| 93 | 93 |
| 94 WebMediaDevicesRequest::operator MediaDevicesRequest*() const | 94 WebMediaDevicesRequest::operator MediaDevicesRequest*() const |
| 95 { | 95 { |
| 96 return m_private.get(); | 96 return m_private.get(); |
| 97 } | 97 } |
| 98 | 98 |
| 99 } // namespace blink | 99 } // namespace blink |
| OLD | NEW |