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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_main.cc
diff --git a/remoting/client/plugin/chromoting_main.cc b/remoting/client/plugin/chromoting_main.cc
deleted file mode 100644
index 9d02936acc98a290c536f332ca092f35251ffebb..0000000000000000000000000000000000000000
--- a/remoting/client/plugin/chromoting_main.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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/plugin/chromoting_plugin.h"
-
-// Initialize general plugin info like name and description.
-// This information needs to live outside of the PepperPlugin since it can
-// be requested by the browser before the PepperPlugin has been instantiated.
-void InitializePluginInfo(pepper::PepperPlugin::Info* plugin_info) {
- plugin_info->mime_description = remoting::ChromotingPlugin::kMimeType;
- plugin_info->plugin_name = "Chromoting";
- plugin_info->plugin_description = "Remote access for Chrome";
-}
-
-// Create the Pepper plugin instance.
-//
-// This is called in response to the NPP_New call.
-// This instantiates a PepperPlugin subclass that implements the plugin
-// specific functionality.
-pepper::PepperPlugin* CreatePlugin(NPNetscapeFuncs* browser_funcs,
- NPP instance) {
- return new remoting::ChromotingPlugin(browser_funcs, instance);
-}
« 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