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 CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ | 5 #ifndef CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ |
6 #define CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ | 6 #define CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/utility/utility_message_handler.h" | 12 #include "chrome/utility/utility_message_handler.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class TaskRunner; | 15 class TaskRunner; |
15 class Thread; | 16 class Thread; |
16 } | 17 } |
17 | 18 |
18 // Handles requests to build a static direct write font cache. Must be invoked | 19 // Handles requests to build a static direct write font cache. Must be invoked |
(...skipping 18 matching lines...) Expand all Loading... |
37 scoped_refptr<base::TaskRunner> utility_task_runner_; | 38 scoped_refptr<base::TaskRunner> utility_task_runner_; |
38 | 39 |
39 // Thread that caching process runs on, while FontCacheHandler handles | 40 // Thread that caching process runs on, while FontCacheHandler handles |
40 // messages from the browser process. | 41 // messages from the browser process. |
41 scoped_ptr<base::Thread> cache_thread_; | 42 scoped_ptr<base::Thread> cache_thread_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(FontCacheHandler); | 44 DISALLOW_COPY_AND_ASSIGN(FontCacheHandler); |
44 }; | 45 }; |
45 | 46 |
46 #endif // CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ | 47 #endif // CHROME_UTILITY_FONT_CACHE_HANDLER_WIN_H_ |
OLD | NEW |