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

Unified Diff: Source/core/loader/DocumentLoader.h

Issue 1288973002: Observing DocumentTiming and sending data to RenderFrameImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Document logic moved to DocumentTiming Created 5 years, 4 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: Source/core/loader/DocumentLoader.h
diff --git a/Source/core/loader/DocumentLoader.h b/Source/core/loader/DocumentLoader.h
index 6a5bafc6740ccaac4fc6f078c097dd3e56293f8b..04b03c0c33a66522bfa9521778d66a3a4f90581f 100644
--- a/Source/core/loader/DocumentLoader.h
+++ b/Source/core/loader/DocumentLoader.h
@@ -93,6 +93,7 @@ public:
const AtomicString& responseMIMEType() const;
+ void didChangePerformanceTiming();
void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSource);
void stopLoading();
bool isLoading() const;
@@ -187,6 +188,8 @@ private:
bool shouldContinueForResponse() const;
+ WeakPtrWillBeRawPtr<DocumentLoader> weakReference();
+
RawPtrWillBeMember<LocalFrame> m_frame;
PersistentWillBeMember<ResourceFetcher> m_fetcher;
@@ -217,6 +220,9 @@ private:
RefPtrWillBeMember<MHTMLArchive> m_archive;
+#if !ENABLE(OILPAN)
+ WeakPtrFactory<DocumentLoader> m_weakFactory;
+#endif
DocumentLoadTiming m_documentLoadTiming;
double m_timeOfLastDataReceived;

Powered by Google App Engine
This is Rietveld 408576698