Bug 550668: nsIPluginTag should expose fullpath
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 16 Apr 2010 10:10:00 -0700
changeset 40931 c7a4f2c4ba7a3abc03fcd4a1cf188740cafb404c
parent 40930 021bf8e64199d70609fb6fa09d694e6add91ba8d
child 40932 862dee8093f9a8a08ba856746e85ebd49b8431d8
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs550668
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 550668: nsIPluginTag should expose fullpath
modules/plugin/base/public/nsIPluginTag.idl
modules/plugin/base/src/nsPluginTags.cpp
--- a/modules/plugin/base/public/nsIPluginTag.idl
+++ b/modules/plugin/base/public/nsIPluginTag.idl
@@ -33,18 +33,19 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #include "nsISupports.idl"
 
-[scriptable, uuid(13a1b39e-72e5-442d-aa73-5905ffaf837b)]
+[scriptable, uuid(88e03453-a773-47ba-9d84-14f672ac99e2)]
 interface nsIPluginTag : nsISupports
 {
   readonly attribute AUTF8String description;
   readonly attribute AUTF8String filename;
+  readonly attribute AUTF8String fullpath;
   readonly attribute AUTF8String version;
   readonly attribute AUTF8String name;
            attribute boolean  disabled;
            attribute boolean  blocklisted;
 };
--- a/modules/plugin/base/src/nsPluginTags.cpp
+++ b/modules/plugin/base/src/nsPluginTags.cpp
@@ -343,16 +343,23 @@ nsPluginTag::GetDescription(nsACString& 
 NS_IMETHODIMP
 nsPluginTag::GetFilename(nsACString& aFileName)
 {
   aFileName = mFileName;
   return NS_OK;
 }
 
 NS_IMETHODIMP
+nsPluginTag::GetFullpath(nsACString& aFullPath)
+{
+  aFullPath = mFullPath;
+  return NS_OK;
+}
+
+NS_IMETHODIMP
 nsPluginTag::GetVersion(nsACString& aVersion)
 {
   aVersion = mVersion;
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsPluginTag::GetName(nsACString& aName)