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

Side by Side Diff: blimp/client/feature/compositor/mock_compositor_dependencies.cc

Issue 2274323002: Expose Blimp dependencies to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@khushal_baseline_1
Patch Set: Fix linux build break Created 4 years, 3 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 2016 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 "blimp/client/feature/compositor/mock_compositor_dependencies.h"
6
7 #include "cc/test/test_in_process_context_provider.h"
8
9 namespace blimp {
10 namespace client {
11
12 void MockCompositorDependencies::GetContextProvider(
13 const ContextProviderCallback& callback) {
14 scoped_refptr<cc::ContextProvider> provider =
15 make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr));
16 callback.Run(provider);
17 }
18
19 } // namespace client
20 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/feature/compositor/mock_compositor_dependencies.h ('k') | blimp/client/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698