| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/browser/browser_plugin_guest_manager_delegate.h" | 5 #include "content/public/browser/browser_plugin_guest_manager_delegate.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { | 9 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { |
| 10 return 0; | 10 return 0; |
| 11 } | 11 } |
| 12 | 12 |
| 13 WebContents* BrowserPluginGuestManagerDelegate::GetGuestByInstanceID( | |
| 14 int guest_instance_id, | |
| 15 int embedder_render_process_id) { | |
| 16 return NULL; | |
| 17 } | |
| 18 | |
| 19 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceIDMaybeKill( | |
| 20 int embedder_render_process_id, | |
| 21 int guest_instance_id) { | |
| 22 return false; | |
| 23 } | |
| 24 | |
| 25 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceID( | |
| 26 int embedder_render_process_id, | |
| 27 int guest_instance_id) { | |
| 28 return false; | |
| 29 } | |
| 30 | |
| 31 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( | 13 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( |
| 32 const GURL& guest_site) { | 14 const GURL& guest_site) { |
| 33 return NULL; | 15 return NULL; |
| 34 } | 16 } |
| 35 | 17 |
| 36 bool BrowserPluginGuestManagerDelegate::ForEachGuest( | 18 bool BrowserPluginGuestManagerDelegate::ForEachGuest( |
| 37 WebContents* embedder_web_contents, | 19 WebContents* embedder_web_contents, |
| 38 const GuestCallback& callback) { | 20 const GuestCallback& callback) { |
| 39 return false; | 21 return false; |
| 40 } | 22 } |
| 41 | 23 |
| 42 } // content | 24 } // content |
| 43 | 25 |
| OLD | NEW |