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

Unified Diff: chrome/browser/render_process_host.h

Issue 8908: Make it so that you can refresh and see changes in Greasemonkey... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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/greasemonkey_master.cc ('k') | chrome/browser/render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/greasemonkey_master.cc ('k') | chrome/browser/render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698