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

Side by Side Diff: device/capture/video/win/pin_base_win.cc

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
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 device {
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) {}
16 16
17 // Implement from IUnknown. 17 // Implement from IUnknown.
18 STDMETHOD(QueryInterface)(REFIID iid, void** object_ptr) override { 18 STDMETHOD(QueryInterface)(REFIID iid, void** object_ptr) override {
19 if (iid == IID_IEnumMediaTypes || iid == IID_IUnknown) { 19 if (iid == IID_IEnumMediaTypes || iid == IID_IUnknown) {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } 275 }
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 device
OLDNEW
« no previous file with comments | « device/capture/video/win/pin_base_win.h ('k') | device/capture/video/win/sink_filter_observer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698