Update guest process id when navigating

This commit is contained in:
Cheng Zhao 2015-04-26 15:30:31 +08:00
parent d8adbc0875
commit 36c4b1705d
3 changed files with 46 additions and 10 deletions

View file

@ -34,6 +34,10 @@ class WebViewManager : public content::BrowserPluginGuestManager {
static bool GetInfoForProcess(content::RenderProcessHost* process,
WebViewInfo* info);
// Updates the guest process ID.
static void UpdateGuestProcessID(content::RenderProcessHost* old_process,
content::RenderProcessHost* new_process);
explicit WebViewManager(content::BrowserContext* context);
virtual ~WebViewManager();