Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2704083002: Remove Page dependency from NetworkStateNotifier (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 49e771803f1d8544ef6b2f71a9e2fdcebfcc8d70..3510808d41ed26c9a8b3d122bdec396aeca02e90 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -325,6 +325,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
Document* source) override;
private:
+ class NetworkStateObserver;
+
// Intentionally private to prevent redundant checks when the type is
// already LocalDOMWindow.
bool isLocalDOMWindow() const override { return true; }
@@ -357,6 +359,7 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
mutable Member<StyleMedia> m_media;
mutable TraceWrapperMember<CustomElementRegistry> m_customElements;
Member<External> m_external;
+ mutable Member<NetworkStateObserver> m_networkStateObserver;
String m_status;
String m_defaultStatus;

Powered by Google App Engine
This is Rietveld 408576698