Issue #2542 - Part 7: Move SecFetch.* to /netwerk where it belongs.

This commit is contained in:
Moonchild 2024-07-05 14:05:45 +02:00 committed by roytam1
commit fffe6c4996
5 changed files with 12 additions and 5 deletions

View file

@ -99,7 +99,7 @@
#include "CacheControlParser.h"
#include "nsMixedContentBlocker.h"
#include "CacheStorageService.h"
#include "mozilla/dom/SecFetch.h"
#include "mozilla/net/SecFetch.h"
namespace mozilla { namespace net {
@ -382,7 +382,7 @@ nsHttpChannel::Connect()
NS_ENSURE_SUCCESS(rv, rv);
}
mozilla::dom::SecFetch::AddSecFetchHeader(this);
mozilla::net::SecFetch::AddSecFetchHeader(this);
bool isHttps = false;
rv = mURI->SchemeIs("https", &isHttps);