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

Side by Side Diff: chrome/browser/guest_view/chrome_content_browser_client_guest_view_part.cc

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/guest_view/chrome_content_browser_client_guest_view_par t.h"
6
7 #include "chrome/browser/guest_view/chrome_guest_view_message_filter.h"
8
9 namespace chrome {
10
11 ChromeContentBrowserClientGuestViewPart::
12 ChromeContentBrowserClientGuestViewPart() {}
13
14 ChromeContentBrowserClientGuestViewPart::
15 ~ChromeContentBrowserClientGuestViewPart() {}
16
17 void ChromeContentBrowserClientGuestViewPart::RenderProcessWillLaunch(
18 content::RenderProcessHost* host) {
19 int id = host->GetID();
20 Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
21 host->AddFilter(new ChromeGuestViewMessageFilter(id, profile));
22 }
23
24 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698