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

Unified Diff: chrome/default_plugin/plugin_installer_base.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
« no previous file with comments | « chrome/default_plugin/plugin_impl_win.cc ('k') | chrome/default_plugin/plugin_installer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/default_plugin/plugin_installer_base.h
===================================================================
--- chrome/default_plugin/plugin_installer_base.h (revision 0)
+++ chrome/default_plugin/plugin_installer_base.h (revision 0)
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 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.
+
+#ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
+#define CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
+
+#include "base/basictypes.h"
+#include "third_party/npapi/bindings/npapi.h"
+
+// Base class for the plugin installer.
+class PluginInstallerBase {
+ public:
+ PluginInstallerBase();
+ virtual ~PluginInstallerBase();
+
+ bool Initialize(void* module_handle, NPP instance, NPMIMEType mime_type,
+ int16 argc, char* argn[], char* argv[]);
+
+ int renderer_process_id() const {
+ return renderer_process_id_;
+ }
+
+ int render_view_id() const {
+ return render_view_id_;
+ }
+
+ private:
+ int renderer_process_id_;
+ int render_view_id_;
+};
+
+#endif // CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
« no previous file with comments | « chrome/default_plugin/plugin_impl_win.cc ('k') | chrome/default_plugin/plugin_installer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698