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

Side by Side Diff: media/capture/video/win/filter_base_win.cc

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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
« no previous file with comments | « media/base/win/mf_helpers.cc ('k') | media/capture/video/win/pin_base_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/filter_base_win.h" 5 #include "media/capture/video/win/filter_base_win.h"
6 6
7 #pragma comment(lib, "strmiids.lib") 7 #pragma comment(lib, "strmiids.lib")
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 *enum_pins = new PinEnumerator(this); 86 *enum_pins = new PinEnumerator(this);
87 (*enum_pins)->AddRef(); 87 (*enum_pins)->AddRef();
88 return S_OK; 88 return S_OK;
89 } 89 }
90 90
91 STDMETHODIMP FilterBase::FindPin(LPCWSTR id, IPin** pin) { 91 STDMETHODIMP FilterBase::FindPin(LPCWSTR id, IPin** pin) {
92 return E_NOTIMPL; 92 return E_NOTIMPL;
93 } 93 }
94 94
95 STDMETHODIMP FilterBase::QueryFilterInfo(FILTER_INFO* info) { 95 STDMETHODIMP FilterBase::QueryFilterInfo(FILTER_INFO* info) {
96 info->pGraph = owning_graph_.get(); 96 info->pGraph = owning_graph_.Get();
97 info->achName[0] = L'\0'; 97 info->achName[0] = L'\0';
98 if (info->pGraph) 98 if (info->pGraph)
99 info->pGraph->AddRef(); 99 info->pGraph->AddRef();
100 return S_OK; 100 return S_OK;
101 } 101 }
102 102
103 STDMETHODIMP FilterBase::JoinFilterGraph(IFilterGraph* graph, LPCWSTR name) { 103 STDMETHODIMP FilterBase::JoinFilterGraph(IFilterGraph* graph, LPCWSTR name) {
104 owning_graph_ = graph; 104 owning_graph_ = graph;
105 return S_OK; 105 return S_OK;
106 } 106 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 ULONG STDMETHODCALLTYPE FilterBase::Release() { 165 ULONG STDMETHODCALLTYPE FilterBase::Release() {
166 base::RefCounted<FilterBase>::Release(); 166 base::RefCounted<FilterBase>::Release();
167 return 1; 167 return 1;
168 } 168 }
169 169
170 FilterBase::~FilterBase() { 170 FilterBase::~FilterBase() {
171 } 171 }
172 172
173 } // namespace media 173 } // namespace media
OLDNEW
« no previous file with comments | « media/base/win/mf_helpers.cc ('k') | media/capture/video/win/pin_base_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698