aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphySingle.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphySingle.h')
-rw-r--r--embed/mozilla/EphySingle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/EphySingle.h b/embed/mozilla/EphySingle.h
index aff9de9a6..9bbc3f863 100644
--- a/embed/mozilla/EphySingle.h
+++ b/embed/mozilla/EphySingle.h
@@ -45,6 +45,8 @@ public:
nsresult Init (EphyEmbedSingle *aOwner);
nsresult Detach ();
+ PRBool IsOnline() { return mIsOnline; }
+
protected:
nsresult EmitCookieNotification (const char *name, nsISupports *aSubject);
nsresult EmitPermissionNotification (const char *name, nsISupports *aSubject);
@@ -52,6 +54,7 @@ protected:
private:
nsCOMPtr<nsIObserverService> mObserverService;
EphyEmbedSingle *mOwner;
+ PRBool mIsOnline;
};
EphyCookie *mozilla_cookie_to_ephy_cookie (nsICookie *cookie);