diff options
author | steveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 19:29:02 +0000 |
---|---|---|
committer | steveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-21 19:29:02 +0000 |
commit | 0763592a19d173eafc3d725980d6b117927b45dc (patch) | |
tree | f941e8b692cdcb81e8405f15f3d72271477f245a /content/common/npobject_util.h | |
parent | f020428b6ff317d7785c97468fd2173cccfa097e (diff) | |
download | chromium_src-0763592a19d173eafc3d725980d6b117927b45dc.zip chromium_src-0763592a19d173eafc3d725980d6b117927b45dc.tar.gz chromium_src-0763592a19d173eafc3d725980d6b117927b45dc.tar.bz2 |
Modify NPObjectStub::OnSetProperty() to get the plugin path from the command line directly
This avoids the need for NPObjectStub to use PluginThread::plugin_path() and allows us to remove the content/plugin/ include from npobject_stub.cc. We can also remove PluginThread::plugin_path().
Refactoring only, no functional change.
BUG=96703
Review URL: http://codereview.chromium.org/7982026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/npobject_util.h')
-rw-r--r-- | content/common/npobject_util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/common/npobject_util.h b/content/common/npobject_util.h index 300bbd3..bc99397 100644 --- a/content/common/npobject_util.h +++ b/content/common/npobject_util.h @@ -31,8 +31,7 @@ typedef void *NPIdentifier; // plugin instances are initialized. void PatchNPNFunctions(); -// Returns true if the current process is a plugin process, or false if it's a -// renderer process. +// Returns true if the current process is a plugin process, or false otherwise. bool IsPluginProcess(); // Creates an object similar to NPIdentifier that can be marshalled. |