Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: content/public/browser/browser_plugin_guest_manager_delegate.cc

Issue 261013005: BrowserPlugin: Move CreateGuest to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_simplify_api
Patch Set: Fixed content_browsertests after a change Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_manager_delegate.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698