Add 'did_proceed' and 'repeat_visit' to ClientMalwareReportRequest to track CTR.
[chromium-blink-merge.git] / components / mus / display_manager_factory.h
blobe59424f542a7a320140db3959ba8e8dc7d698698
1 // Copyright 2015 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.
5 #ifndef COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_
6 #define COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_
8 #include "components/mus/gles2/gpu_state.h"
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h"
11 namespace mus {
12 class ApplicationImpl;
13 } // namespace mus
15 namespace mus {
17 class DisplayManager;
19 // Abstract factory for DisplayManagers. Used by tests to construct test
20 // DisplayManagers.
21 class DisplayManagerFactory {
22 public:
23 virtual DisplayManager* CreateDisplayManager(
24 bool is_headless,
25 mojo::ApplicationImpl* app_impl,
26 const scoped_refptr<GpuState>& gpu_state,
27 const scoped_refptr<SurfacesState>& surfaces_state) = 0;
30 } // namespace mus
32 #endif // COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_