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

Side by Side Diff: content/browser/pepper_helper.cc

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 "content/public/browser/pepper_helper.h"
6
7 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
8 #include "ipc/ipc_channel_proxy.h"
9 #include "net/base/host_resolver.h"
10
11 namespace content {
12
13 void EnablePepperSupportForChannel(IPC::ChannelProxy* channel,
14 net::HostResolver* host_resolver,
15 int process_id,
16 int render_view_id) {
17 channel->AddFilter(new PepperMessageFilter(PepperMessageFilter::NACL,
18 host_resolver,
19 process_id,
20 render_view_id));
21 }
22
23 } // namespace content
24
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_process_host.cc ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698