Index: chrome/default_plugin/plugin_main.h |
=================================================================== |
--- chrome/default_plugin/plugin_main.h (revision 98657) |
+++ chrome/default_plugin/plugin_main.h (working copy) |
@@ -2,6 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_MAIN_H_ |
+#define CHROME_DEFAULT_PLUGIN_PLUGIN_MAIN_H_ |
+ |
#include <algorithm> |
#include "third_party/npapi/bindings/npapi.h" |
@@ -37,4 +40,19 @@ |
#endif |
NPError API_CALL NP_Shutdown(void); |
+// Base class for the plugin installer. |
+class PluginInstallerBase { |
jam
2011/08/31 17:34:42
nit: this should go into its own file
ananta
2011/08/31 20:18:14
Done.
|
+ public: |
+ PluginInstallerBase(); |
+ virtual ~PluginInstallerBase(); |
+ |
+ bool Initialize(void* module_handle, NPP instance, NPMIMEType mime_type, |
+ int16 argc, char* argn[], char* argv[]); |
+ protected: |
+ int renderer_process_id_; |
jam
2011/08/31 17:34:42
why not just add getters for derived classes inste
ananta
2011/08/31 20:18:14
Done.
|
+ int render_view_id_; |
+}; |
+ |
} // default_plugin |
+ |
+#endif // CHROME_DEFAULT_PLUGIN_PLUGIN_MAIN_H_ |