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

Unified Diff: chrome/browser/guest_view/guest_view_manager.cc

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed formatting Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/guest_view/guest_view_manager.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/guest_view/guest_view_manager.cc
diff --git a/chrome/browser/guest_view/guest_view_manager.cc b/chrome/browser/guest_view/guest_view_manager.cc
index 832e5811f22094ecbd72b7ce6ef7c5d8ff7ddf49..ac5473534c3242fd87738bb05c87c75d01e2ebfc 100644
--- a/chrome/browser/guest_view/guest_view_manager.cc
+++ b/chrome/browser/guest_view/guest_view_manager.cc
@@ -58,7 +58,7 @@ content::WebContents* GuestViewManager::GetGuestByInstanceIDSafely(
guest_instance_id)) {
return NULL;
}
- return GetGuestByInstanceID(guest_instance_id, embedder_render_process_id);
+ return GetGuestByInstanceID(guest_instance_id);
}
int GuestViewManager::GetNextInstanceID() {
@@ -114,7 +114,7 @@ void GuestViewManager::MaybeGetGuestByInstanceIDOrKill(
return;
}
content::WebContents* guest_web_contents =
- GetGuestByInstanceID(guest_instance_id, embedder_render_process_id);
+ GetGuestByInstanceID(guest_instance_id);
callback.Run(guest_web_contents);
}
@@ -183,8 +183,7 @@ void GuestViewManager::RemoveGuest(int guest_instance_id) {
}
content::WebContents* GuestViewManager::GetGuestByInstanceID(
- int guest_instance_id,
- int embedder_render_process_id) {
+ int guest_instance_id) {
GuestInstanceMap::const_iterator it =
guest_web_contents_by_instance_id_.find(guest_instance_id);
if (it == guest_web_contents_by_instance_id_.end())
« no previous file with comments | « chrome/browser/guest_view/guest_view_manager.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698