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_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ | 5 #ifndef COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ |
6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ | 6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/macros.h" |
9 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
10 #include "components/font_service/public/interfaces/font_service.mojom.h" | 13 #include "components/font_service/public/interfaces/font_service.mojom.h" |
11 #include "third_party/skia/include/core/SkStream.h" | 14 #include "third_party/skia/include/core/SkStream.h" |
12 #include "third_party/skia/include/core/SkTypeface.h" | 15 #include "third_party/skia/include/core/SkTypeface.h" |
13 #include "third_party/skia/include/ports/SkFontConfigInterface.h" | 16 #include "third_party/skia/include/ports/SkFontConfigInterface.h" |
14 | 17 |
15 namespace font_service { | 18 namespace font_service { |
16 namespace internal { | 19 namespace internal { |
17 | 20 |
18 class MappedFontFile; | 21 class MappedFontFile; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // non-thread bound, and binds it to the newly created thread. | 91 // non-thread bound, and binds it to the newly created thread. |
89 mojo::InterfacePtr<FontService> font_service_; | 92 mojo::InterfacePtr<FontService> font_service_; |
90 | 93 |
91 DISALLOW_COPY_AND_ASSIGN(FontServiceThread); | 94 DISALLOW_COPY_AND_ASSIGN(FontServiceThread); |
92 }; | 95 }; |
93 | 96 |
94 } // namespace internal | 97 } // namespace internal |
95 } // namespace font_service | 98 } // namespace font_service |
96 | 99 |
97 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ | 100 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_SERVICE_THREAD_H_ |
OLD | NEW |