summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_utility_process_host.h
diff options
context:
space:
mode:
authorarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 03:33:21 +0000
committerarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 03:33:21 +0000
commit79fff8227ab720a8bf309107ef96f57ae93592c1 (patch)
treecb9c7d286ece595404e5dde9ab381820017b40dc /chrome/service/service_utility_process_host.h
parentf354e25b2905341d67166e20709a71163004de73 (diff)
downloadchromium_src-79fff8227ab720a8bf309107ef96f57ae93592c1.zip
chromium_src-79fff8227ab720a8bf309107ef96f57ae93592c1.tar.gz
chromium_src-79fff8227ab720a8bf309107ef96f57ae93592c1.tar.bz2
New implementation of font precache on Windows.
BUG=94421 TEST=none Review URL: http://codereview.chromium.org/7866019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_utility_process_host.h')
-rw-r--r--chrome/service/service_utility_process_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h
index b3802f9..f24bd3a 100644
--- a/chrome/service/service_utility_process_host.h
+++ b/chrome/service/service_utility_process_host.h
@@ -131,6 +131,7 @@ class ServiceUtilityProcessHost : public ServiceChildProcessHost {
#if defined(OS_WIN) // This hack is Windows-specific.
void OnPreCacheFont(const LOGFONT& font);
+ void OnReleaseCachedFonts();
#endif // defined(OS_WIN)
// A pointer to our client interface, who will be informed of progress.
@@ -141,6 +142,8 @@ class ServiceUtilityProcessHost : public ServiceChildProcessHost {
FilePath metafile_path_;
// The temporary folder created for the metafile.
scoped_ptr<ScopedTempDir> scratch_metafile_dir_;
+ // The unique id created for the process.
+ int process_id_;
DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost);
};