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

Side by Side Diff: content/renderer/media/android/stream_texture_factory_impl.cc

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/renderer/media/android/stream_texture_factory_impl.h" 5 #include "content/renderer/media/android/stream_texture_factory_impl.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "cc/output/context_provider.h" 8 #include "cc/output/context_provider.h"
9 #include "content/common/gpu/client/context_provider_command_buffer.h" 9 #include "content/common/gpu/client/context_provider_command_buffer.h"
10 #include "content/renderer/gpu/stream_texture_host_android.h" 10 #include "content/renderer/gpu/stream_texture_host_android.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 void StreamTextureFactoryImpl::SetStreamTextureSize(int32_t stream_id, 152 void StreamTextureFactoryImpl::SetStreamTextureSize(int32_t stream_id,
153 const gfx::Size& size) { 153 const gfx::Size& size) {
154 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size)); 154 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size));
155 } 155 }
156 156
157 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() { 157 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() {
158 return context_provider_->ContextGL(); 158 return context_provider_->ContextGL();
159 } 159 }
160 160
161 void StreamTextureFactoryImpl::AddObserver(
162 StreamTextureFactoryContextObserver* obs) {
163 }
164
165 void StreamTextureFactoryImpl::RemoveObserver(
166 StreamTextureFactoryContextObserver* obs) {
167 }
168
169 } // namespace content 161 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698