Chromium Code Reviews| Index: chrome/browser/render_process_host.h |
| =================================================================== |
| --- chrome/browser/render_process_host.h (revision 4208) |
| +++ chrome/browser/render_process_host.h (working copy) |
| @@ -84,12 +84,6 @@ |
| // the process has been created, it should just call Init(). |
| bool Init(); |
| - // Send the child process its initial visited link database. |
| - void InitVisitedLinks(HANDLE target_process); |
| - |
| - // Send the child process its initial greasemonkey scripts. |
| - void InitGreasemonkeyScripts(HANDLE target_process); |
| - |
| // Used for refcounting, each holder of this object must Attach and Release |
| // just like it would for a COM object. This object should be allocated on |
| // the heap; when no listeners own it any more, it will delete itself. |
| @@ -211,6 +205,21 @@ |
| void OnClipboardReadHTML(std::wstring* markup, GURL* src_url); |
| void OnUpdatedCacheStats(const CacheManager::UsageStats& stats); |
| + // Initialize support for visited links. Send the renderer process its initial |
| + // set of visited links. |
| + void InitVisitedLinks(); |
| + |
| + // Initialize support for Greasemonkey scripts. Send the renderer process its |
| + // initial set of scripts and listen for updates to scripts. |
| + void InitGreasemonkeyScripts(); |
| + |
| + // Sends the renderer process a new set of Greasemonkey scripts. |
| + void SendGreasemonkeyScriptsUpdate(SharedMemory *shared_memory); |
|
Evan Martin
2008/10/30 17:29:51
star on left
|
| + |
| + // Gets a handle to the renderer process, normalizing the case where we were |
| + // started with --single-process. |
| + HANDLE GetRendererProcessHandle(); |
| + |
| // Callers can reduce the RenderProcess' priority. |
| // Returns true if the priority is backgrounded; false otherwise. |
| void SetBackgrounded(bool boost); |