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

Side by Side 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, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
6 #define CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
7
8 #include "base/basictypes.h"
9 #include "third_party/npapi/bindings/npapi.h"
10
11 // Base class for the plugin installer.
12 class PluginInstallerBase {
13 public:
14 PluginInstallerBase();
15 virtual ~PluginInstallerBase();
16
17 bool Initialize(void* module_handle, NPP instance, NPMIMEType mime_type,
18 int16 argc, char* argn[], char* argv[]);
19
20 int renderer_process_id() const {
21 return renderer_process_id_;
22 }
23
24 int render_view_id() const {
25 return render_view_id_;
26 }
27
28 private:
29 int renderer_process_id_;
30 int render_view_id_;
31 };
32
33 #endif // CHROME_DEFAULT_PLUGIN_PLUGIN_INSTALLER_BASE_H_
OLDNEW
« 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