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

Side by Side Diff: content/test/mock_gpu_channel_establish_factory.cc

Issue 2686243002: content/ui[Android]: Remove ContextProviderFactory. (Closed)
Patch Set: .. Created 3 years, 10 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
(Empty)
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/test/mock_gpu_channel_establish_factory.h"
6
7 namespace content {
8
9 MockGpuChannelEstablishFactory::MockGpuChannelEstablishFactory() = default;
10
11 MockGpuChannelEstablishFactory::~MockGpuChannelEstablishFactory() = default;
12
13 void MockGpuChannelEstablishFactory::EstablishGpuChannel(
14 const gpu::GpuChannelEstablishedCallback& callback) {
15 callback.Run(nullptr);
16 }
17
18 scoped_refptr<gpu::GpuChannelHost>
19 MockGpuChannelEstablishFactory::EstablishGpuChannelSync() {
20 return nullptr;
21 }
22
23 gpu::GpuMemoryBufferManager*
24 MockGpuChannelEstablishFactory::GetGpuMemoryBufferManager() {
25 return nullptr;
26 }
27
28 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698