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

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

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: retry gpu process failures after crbug.com/643282 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
« no previous file with comments | « blimp/client/support/compositor/mock_compositor_dependencies.h ('k') | chrome/browser/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 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 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 "blimp/client/support/compositor/mock_compositor_dependencies.h" 5 #include "blimp/client/support/compositor/mock_compositor_dependencies.h"
6 6
7 #include "cc/test/test_in_process_context_provider.h" 7 #include "cc/test/test_in_process_context_provider.h"
8 8
9 namespace blimp { 9 namespace blimp {
10 namespace client { 10 namespace client {
11 11
12 void MockCompositorDependencies::GetContextProvider( 12 void MockCompositorDependencies::GetContextProviders(
13 const ContextProviderCallback& callback) { 13 const ContextProviderCallback& callback) {
14 scoped_refptr<cc::ContextProvider> provider = 14 callback.Run(
15 make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)); 15 make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)),
16 callback.Run(provider); 16 make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)));
17 } 17 }
18 18
19 } // namespace client 19 } // namespace client
20 } // namespace blimp 20 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/support/compositor/mock_compositor_dependencies.h ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698