| 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 #include "ipc/ipc_listener.h" | 6 #include "ipc/ipc_listener.h" |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { | 10 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { |
| 11 return 0; | 11 return 0; |
| 12 } | 12 } |
| 13 | 13 |
| 14 WebContents* BrowserPluginGuestManagerDelegate::GetGuestByInstanceID( | |
| 15 int guest_instance_id, | |
| 16 int embedder_render_process_id) { | |
| 17 return NULL; | |
| 18 } | |
| 19 | |
| 20 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceIDMaybeKill( | |
| 21 int embedder_render_process_id, | |
| 22 int guest_instance_id) { | |
| 23 return false; | |
| 24 } | |
| 25 | |
| 26 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceID( | |
| 27 int embedder_render_process_id, | |
| 28 int guest_instance_id) { | |
| 29 return false; | |
| 30 } | |
| 31 | |
| 32 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( | 14 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( |
| 33 const GURL& guest_site) { | 15 const GURL& guest_site) { |
| 34 return NULL; | 16 return NULL; |
| 35 } | 17 } |
| 36 | 18 |
| 37 bool BrowserPluginGuestManagerDelegate::ForEachGuest( | 19 bool BrowserPluginGuestManagerDelegate::ForEachGuest( |
| 38 WebContents* embedder_web_contents, | 20 WebContents* embedder_web_contents, |
| 39 const GuestCallback& callback) { | 21 const GuestCallback& callback) { |
| 40 return false; | 22 return false; |
| 41 } | 23 } |
| 42 | 24 |
| 43 } // content | 25 } // content |
| 44 | 26 |
| OLD | NEW |