Bug 1426977 P5 Remove unnused cookie pref getters from nsContentUtils. r=mystor
authorBen Kelly <ben@wanderview.com>
Mon, 08 Jan 2018 20:25:53 -0500
changeset 452611 62603fdd915b7e4d47b23278ac951ca534b0b76d
parent 452610 ab49425989fe8c324bdfc9eea751edb7aa51d80b
child 452612 e3edde0c2242804300ebd96b0a0f648ace682688
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmystor
bugs1426977
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1426977 P5 Remove unnused cookie pref getters from nsContentUtils. r=mystor
dom/base/nsContentUtils.h
--- a/dom/base/nsContentUtils.h
+++ b/dom/base/nsContentUtils.h
@@ -2908,26 +2908,16 @@ public:
    *
    * @param aHeader the response's Referrer-Policy header to parse
    * @return referrer policy from the response header.
    */
   static mozilla::net::ReferrerPolicy GetReferrerPolicyFromHeader(const nsAString& aHeader);
 
   static bool IsNonSubresourceRequest(nsIChannel* aChannel);
 
-  static uint32_t CookiesBehavior()
-  {
-    return sCookiesBehavior;
-  }
-
-  static uint32_t CookiesLifetimePolicy()
-  {
-    return sCookiesLifetimePolicy;
-  }
-
   // The order of these entries matters, as we use std::min for total ordering
   // of permissions. Private Browsing is considered to be more limiting
   // then session scoping
   enum class StorageAccess {
     // Don't allow access to the storage
     eDeny = 0,
     // Allow access to the storage, but only if it is secure to do so in a
     // private browsing context.