summaryrefslogtreecommitdiffstats
path: root/remoting/client/pepper/pepper_plugin.cc
blob: 4cb022fe9a51182047c73b4c03fa7419afb87258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2010 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "remoting/client/pepper/pepper_plugin.h"

namespace pepper {

PepperPlugin::PepperPlugin(NPNetscapeFuncs* browser_funcs, NPP instance)
    : browser_funcs_(browser_funcs),
      extensions_(NULL),
      instance_(instance) {
  browser_funcs_->getvalue(instance_, NPNVPepperExtensions,
                           static_cast<void*>(&extensions_));
}

PepperPlugin::~PepperPlugin() {
}

}  // namespace pepper