| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/capture/video/win/pin_base_win.h" | 5 #include "device/capture/video/win/pin_base_win.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace media { | 9 namespace media { |
| 10 | 10 |
| 11 // Implement IEnumPins. | 11 // Implement IEnumPins. |
| 12 class TypeEnumerator final : public IEnumMediaTypes, | 12 class TypeEnumerator final : public IEnumMediaTypes, |
| 13 public base::RefCounted<TypeEnumerator> { | 13 public base::RefCounted<TypeEnumerator> { |
| 14 public: | 14 public: |
| 15 explicit TypeEnumerator(PinBase* pin) : pin_(pin), index_(0) {} | 15 explicit TypeEnumerator(PinBase* pin) : pin_(pin), index_(0) {} |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 STDMETHODIMP_(ULONG) PinBase::Release() { | 277 STDMETHODIMP_(ULONG) PinBase::Release() { |
| 278 base::RefCounted<PinBase>::Release(); | 278 base::RefCounted<PinBase>::Release(); |
| 279 return 1; | 279 return 1; |
| 280 } | 280 } |
| 281 | 281 |
| 282 PinBase::~PinBase() { | 282 PinBase::~PinBase() { |
| 283 } | 283 } |
| 284 | 284 |
| 285 } // namespace media | 285 } // namespace media |
| OLD | NEW |