Index: content/public/utility/utility_thread.h |
diff --git a/content/public/utility/utility_thread.h b/content/public/utility/utility_thread.h |
index 6e7cbd108d82d11652a62f66b607849d24116700..42bf10cf5eade593bd002ab86de55be1bc90ae69 100644 |
--- a/content/public/utility/utility_thread.h |
+++ b/content/public/utility/utility_thread.h |
@@ -6,16 +6,11 @@ |
#define CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ |
#include "base/basictypes.h" |
-#include "content/common/content_export.h" |
-#include "ipc/ipc_sender.h" |
- |
-#if defined(OS_WIN) |
-#include <windows.h> |
-#endif |
+#include "content/public/child/child_thread.h" |
namespace content { |
-class CONTENT_EXPORT UtilityThread : public IPC::Sender { |
+class CONTENT_EXPORT UtilityThread : virtual public ChildThread { |
public: |
// Returns the one utility thread for this process. Note that this can only |
// be accessed when running on the utility thread itself. |
@@ -26,15 +21,6 @@ class CONTENT_EXPORT UtilityThread : public IPC::Sender { |
// Releases the process if we are not (or no longer) in batch mode. |
virtual void ReleaseProcessIfNeeded() = 0; |
- |
-#if defined(OS_WIN) |
- // Request that the given font be loaded by the browser so it's cached by the |
- // OS. Please see ChildProcessHost::PreCacheFont for details. |
- virtual void PreCacheFont(const LOGFONT& log_font) = 0; |
- |
- // Release cached font. |
- virtual void ReleaseCachedFonts() = 0; |
-#endif |
}; |
} // namespace content |