toolkit/mozapps/plugins/service/PluginInfo.java

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 package org.mozilla.pfs;
     8 public class PluginInfo {
     9   private java.lang.String name;
    10   private int pid;
    11   private java.lang.String version;
    12   private java.lang.String iconUrl;
    13   private java.lang.String XPILocation;
    14   private boolean installerShowsUI;
    15   private java.lang.String manualInstallationURL;
    16   private java.lang.String requestedMimetype;
    17   private java.lang.String licenseURL;
    19   public PluginInfo() {
    20   }
    22   public java.lang.String getName() {
    23     return name;
    24   }
    26   public void setName(java.lang.String name) {
    27     this.name = name;
    28   }
    30   public int getPid() {
    31     return pid;
    32   }
    34   public void setPid(int pid) {
    35     this.pid = pid;
    36   }
    38   public java.lang.String getVersion() {
    39     return version;
    40   }
    42   public void setVersion(java.lang.String version) {
    43     this.version = version;
    44   }
    46   public java.lang.String getIconUrl() {
    47     return iconUrl;
    48   }
    50   public void setIconUrl(java.lang.String iconUrl) {
    51     this.iconUrl = iconUrl;
    52   }
    54   public java.lang.String getXPILocation() {
    55     return XPILocation;
    56   }
    58   public void setXPILocation(java.lang.String XPILocation) {
    59     this.XPILocation = XPILocation;
    60   }
    62   public boolean isInstallerShowsUI() {
    63     return installerShowsUI;
    64   }
    66   public void setInstallerShowsUI(boolean installerShowsUI) {
    67     this.installerShowsUI = installerShowsUI;
    68   }
    70   public java.lang.String getManualInstallationURL() {
    71     return manualInstallationURL;
    72   }
    74   public void setManualInstallationURL(java.lang.String manualInstallationURL) {
    75     this.manualInstallationURL = manualInstallationURL;
    76   }
    78   public java.lang.String getRequestedMimetype() {
    79     return requestedMimetype;
    80   }
    82   public void setRequestedMimetype(java.lang.String requestedMimetype) {
    83     this.requestedMimetype = requestedMimetype;
    84   }
    86   public java.lang.String getLicenseURL() {
    87     return licenseURL;
    88   }
    90   public void setLicenseURL(java.lang.String licenseURL) {
    91     this.licenseURL = licenseURL;
    92   }
    93 }

mercurial