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

Side by Side Diff: remoting/client/plugin/chromoting_main.cc

Issue 2857011: Convert chromoting to pepperv2 API. (Closed)
Patch Set: break dep Created 10 years, 6 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
« no previous file with comments | « remoting/client/pepper/pepper_plugin.cc ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 "remoting/client/plugin/chromoting_plugin.h"
6
7 // Initialize general plugin info like name and description.
8 // This information needs to live outside of the PepperPlugin since it can
9 // be requested by the browser before the PepperPlugin has been instantiated.
10 void InitializePluginInfo(pepper::PepperPlugin::Info* plugin_info) {
11 plugin_info->mime_description = remoting::ChromotingPlugin::kMimeType;
12 plugin_info->plugin_name = "Chromoting";
13 plugin_info->plugin_description = "Remote access for Chrome";
14 }
15
16 // Create the Pepper plugin instance.
17 //
18 // This is called in response to the NPP_New call.
19 // This instantiates a PepperPlugin subclass that implements the plugin
20 // specific functionality.
21 pepper::PepperPlugin* CreatePlugin(NPNetscapeFuncs* browser_funcs,
22 NPP instance) {
23 return new remoting::ChromotingPlugin(browser_funcs, instance);
24 }
OLDNEW
« no previous file with comments | « remoting/client/pepper/pepper_plugin.cc ('k') | remoting/client/plugin/chromoting_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698