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

Unified Diff: chrome/default_plugin/plugin_main.h

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
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_

Powered by Google App Engine
This is Rietveld 408576698