OLD | NEW |
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 #ifndef FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ | 5 #ifndef FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
6 #define FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ | 6 #define FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/common/tracing_impl.h" | 9 #include "mojo/common/tracing_impl.h" |
10 #include "mojo/public/cpp/application/application_delegate.h" | 10 #include "mojo/public/cpp/application/application_delegate.h" |
11 #include "mojo/public/cpp/application/interface_factory.h" | 11 #include "mojo/public/cpp/application/interface_factory.h" |
12 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" | 12 #include "mojo/services/surfaces/interfaces/display.mojom.h" |
13 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" | 13 #include "mojo/services/surfaces/interfaces/surfaces.mojom.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 class ApplicationConnection; | 16 class ApplicationConnection; |
17 } | 17 } |
18 | 18 |
19 namespace fake_surfaces { | 19 namespace fake_surfaces { |
20 | 20 |
21 class FakeSurfacesServiceApplication | 21 class FakeSurfacesServiceApplication |
22 : public mojo::ApplicationDelegate, | 22 : public mojo::ApplicationDelegate, |
23 public mojo::InterfaceFactory<mojo::DisplayFactory>, | 23 public mojo::InterfaceFactory<mojo::DisplayFactory>, |
(...skipping 18 matching lines...) Expand all Loading... |
42 private: | 42 private: |
43 uint32_t next_id_namespace_; | 43 uint32_t next_id_namespace_; |
44 mojo::TracingImpl tracing_; | 44 mojo::TracingImpl tracing_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(FakeSurfacesServiceApplication); | 46 DISALLOW_COPY_AND_ASSIGN(FakeSurfacesServiceApplication); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace fake_surfaces | 49 } // namespace fake_surfaces |
50 | 50 |
51 #endif // FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ | 51 #endif // FAKE_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_ |
OLD | NEW |