OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ | 5 #ifndef COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ |
6 #define COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ | 6 #define COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "components/font_service/public/interfaces/font_service.mojom.h" | 11 #include "components/font_service/public/interfaces/font_service.mojom.h" |
9 #include "mojo/application/public/cpp/application_delegate.h" | 12 #include "mojo/application/public/cpp/application_delegate.h" |
10 #include "mojo/application/public/cpp/interface_factory.h" | 13 #include "mojo/application/public/cpp/interface_factory.h" |
11 #include "mojo/common/weak_binding_set.h" | 14 #include "mojo/common/weak_binding_set.h" |
12 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 15 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
13 #include "skia/ext/skia_utils_base.h" | 16 #include "skia/ext/skia_utils_base.h" |
14 | 17 |
15 namespace font_service { | 18 namespace font_service { |
16 | 19 |
17 class FontServiceApp : public mojo::ApplicationDelegate, | 20 class FontServiceApp : public mojo::ApplicationDelegate, |
(...skipping 29 matching lines...) Expand all Loading... |
47 // We don't want to leak paths to our callers; we thus enumerate the paths of | 50 // We don't want to leak paths to our callers; we thus enumerate the paths of |
48 // fonts. | 51 // fonts. |
49 SkTDArray<SkString*> paths_; | 52 SkTDArray<SkString*> paths_; |
50 | 53 |
51 DISALLOW_COPY_AND_ASSIGN(FontServiceApp); | 54 DISALLOW_COPY_AND_ASSIGN(FontServiceApp); |
52 }; | 55 }; |
53 | 56 |
54 } // namespace font_service | 57 } // namespace font_service |
55 | 58 |
56 #endif // COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ | 59 #endif // COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_ |
OLD | NEW |