Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4599)

Unified Diff: chrome/common/child_process_host.h

Issue 2906007: Moved sending the PluginProcessMsg_AskForShutdown message to the CreateChanne... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/common/child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_host.h
===================================================================
--- chrome/common/child_process_host.h (revision 51593)
+++ chrome/common/child_process_host.h (working copy)
@@ -5,6 +5,10 @@
#ifndef CHROME_COMMON_CHILD_PROCESS_HOST_H_
#define CHROME_COMMON_CHILD_PROCESS_HOST_H_
+#if defined(OS_WIN)
+#include <windows.h>
+#endif // defined(OS_WIN)
+
#include <list>
#include <string>
@@ -43,6 +47,12 @@
// On failure, returns an empty FilePath.
static FilePath GetChildPath(bool allow_self);
+#if defined(OS_WIN)
+ // See comments in the cc file. This is a common hack needed for a process
+ // hosting a sandboxed child process. Hence it lives in this file.
+ static void PreCacheFont(LOGFONT font);
+#endif // defined(OS_WIN)
+
protected:
ChildProcessHost();
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.cc ('k') | chrome/common/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698