Implements RLZTrackerDelegate on iOS.
[chromium-blink-merge.git] / components / nacl / renderer / nacl_helper.cc
blob516096a3dbbec41990e1dc5404412459f9211748
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
3 // found in the LICENSE file.
5 #include "components/nacl/renderer/nacl_helper.h"
7 #include "content/public/renderer/renderer_ppapi_host.h"
9 namespace nacl {
11 NaClHelper::NaClHelper(content::RenderFrame* render_frame)
12 : RenderFrameObserver(render_frame) {}
14 NaClHelper::~NaClHelper() {}
16 void NaClHelper::DidCreatePepperPlugin(content::RendererPpapiHost* host) {
17 // The Native Client plugin is a host for external plugins.
18 if (host->GetPluginName() == "Native Client")
19 host->SetToExternalPluginHost();
22 } // namespace nacl