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