diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 00:03:23 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 00:03:23 +0000 |
commit | fdb7ee3dc832589e4ee911a598d4f7fd1054e551 (patch) | |
tree | 1f436470c99e3d4f861252de87f686d8048e841b /chrome/browser/visitedlink_master.h | |
parent | 7d8dc6258b7c9dd771eaf509f5403b602a838388 (diff) | |
download | chromium_src-fdb7ee3dc832589e4ee911a598d4f7fd1054e551.zip chromium_src-fdb7ee3dc832589e4ee911a598d4f7fd1054e551.tar.gz chromium_src-fdb7ee3dc832589e4ee911a598d4f7fd1054e551.tar.bz2 |
Revert 32203,32204,32205 - Launch processes asynchronously so as not to block the UI thread. For now, renderer only, I'll take care of plugin/worker/utility processes in a followup change.
BUG=6844
Review URL: http://codereview.chromium.org/397002
Review URL: http://codereview.chromium.org/402033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_master.h')
-rw-r--r-- | chrome/browser/visitedlink_master.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/visitedlink_master.h b/chrome/browser/visitedlink_master.h index fc35ff9..a2bc7b9 100644 --- a/chrome/browser/visitedlink_master.h +++ b/chrome/browser/visitedlink_master.h @@ -80,7 +80,13 @@ class VisitedLinkMaster : public VisitedLinkCommon { // object won't work. bool Init(); - base::SharedMemory* shared_memory() { return shared_memory_; } + // Duplicates the handle to the shared memory to another process. + // Returns true on success. + bool ShareToProcess(base::ProcessHandle process, + base::SharedMemoryHandle *new_handle); + + // Returns the handle to the shared memory + base::SharedMemoryHandle GetSharedMemoryHandle(); // Adds a URL to the table. void AddURL(const GURL& url); |