Index: chrome/service/service_utility_process_host.h |
diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h |
index b3802f9258482d90c21f5fc60af9127c4df66cd0..1412912080645239d51b5e851f1b0ce6670f2a19 100644 |
--- a/chrome/service/service_utility_process_host.h |
+++ b/chrome/service/service_utility_process_host.h |
@@ -107,6 +107,9 @@ class ServiceUtilityProcessHost : public ServiceChildProcessHost { |
// in a sandbox. |
bool StartGetPrinterCapsAndDefaults(const std::string& printer_name); |
+ // Getter of unique process id for this process. |
+ int unique_process_id(); |
jam
2011/09/19 16:31:17
no need for this getter since it's only used in th
arthurhsu
2011/09/19 18:22:51
Done.
|
+ |
protected: |
// Allows this method to be overridden for tests. |
virtual FilePath GetUtilityProcessCmd(); |
@@ -131,6 +134,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 +145,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 unique_process_id_; |
jam
2011/09/19 16:31:17
nit: this should just be called process_id_ to be
arthurhsu
2011/09/19 18:22:51
Done.
|
DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); |
}; |