Index: third_party/WebKit/Source/core/loader/FrameFetchContext.h |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h |
index 493770d9e29488c92454ea9879be851a73f8f1d2..295135b9500b131b80c3839d63f122ab020fa09b 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h |
@@ -34,6 +34,7 @@ |
#include "core/CoreExport.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/loader/BaseFetchContext.h" |
+#include "core/loader/NetworkQuietDetector.h" |
#include "platform/heap/Handle.h" |
#include "platform/loader/fetch/FetchParameters.h" |
#include "platform/loader/fetch/ResourceFetcher.h" |
@@ -157,6 +158,10 @@ class CORE_EXPORT FrameFetchContext final : public BaseFetchContext { |
void Detach() override; |
+ NetworkQuietDetector& GetNetworkQuietDetector() { |
+ return *network_quiet_detector_; |
+ } |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -169,6 +174,7 @@ class CORE_EXPORT FrameFetchContext final : public BaseFetchContext { |
// TODO(kinuko): Remove constness, these return non-const members. |
DocumentLoader* MasterDocumentLoader() const; |
Document* GetDocument() const; |
+ void SetDocument(Document*); |
LocalFrame* GetFrame() const; |
LocalFrameClient* GetLocalFrameClient() const; |
LocalFrame* FrameOfImportsController() const; |
@@ -200,6 +206,7 @@ class CORE_EXPORT FrameFetchContext final : public BaseFetchContext { |
Member<DocumentLoader> document_loader_; |
Member<Document> document_; |
+ Member<NetworkQuietDetector> network_quiet_detector_; |
}; |
} // namespace blink |