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.cc | |
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.cc')
-rw-r--r-- | chrome/browser/visitedlink_master.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/visitedlink_master.cc b/chrome/browser/visitedlink_master.cc index 7292551..a7ccd13 100644 --- a/chrome/browser/visitedlink_master.cc +++ b/chrome/browser/visitedlink_master.cc @@ -258,6 +258,19 @@ bool VisitedLinkMaster::Init() { return true; } +bool VisitedLinkMaster::ShareToProcess(base::ProcessHandle process, + base::SharedMemoryHandle *new_handle) { + if (shared_memory_) + return shared_memory_->ShareToProcess(process, new_handle); + + NOTREACHED(); + return false; +} + +base::SharedMemoryHandle VisitedLinkMaster::GetSharedMemoryHandle() { + return shared_memory_->handle(); +} + VisitedLinkMaster::Hash VisitedLinkMaster::TryToAddURL(const GURL& url) { // Extra check that we are not off the record. This should not happen. if (profile_ && profile_->IsOffTheRecord()) { |