| 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 #include "base/values.h" |
| 8 |
| 7 namespace content { | 9 namespace content { |
| 8 | 10 |
| 11 content::WebContents* BrowserPluginGuestManagerDelegate::CreateGuest( |
| 12 SiteInstance* embedder_site_instance, |
| 13 int instance_id, |
| 14 const std::string& storage_partition_id, |
| 15 bool persist_storage, |
| 16 scoped_ptr<base::DictionaryValue> extra_params) { |
| 17 return NULL; |
| 18 } |
| 19 |
| 9 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { | 20 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { |
| 10 return 0; | 21 return 0; |
| 11 } | 22 } |
| 12 | 23 |
| 13 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( | |
| 14 const GURL& guest_site) { | |
| 15 return NULL; | |
| 16 } | |
| 17 | |
| 18 bool BrowserPluginGuestManagerDelegate::ForEachGuest( | 24 bool BrowserPluginGuestManagerDelegate::ForEachGuest( |
| 19 WebContents* embedder_web_contents, | 25 WebContents* embedder_web_contents, |
| 20 const GuestCallback& callback) { | 26 const GuestCallback& callback) { |
| 21 return false; | 27 return false; |
| 22 } | 28 } |
| 23 | 29 |
| 24 } // content | 30 } // content |
| 25 | 31 |
| OLD | NEW |