Index: third_party/WebKit/Source/core/loader/DocumentLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h |
index 1b98c4902afca317cb2ca6295bb8db431e9cecd3..9457a4b864d6910f3d65ed0d8682bfac21233809 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h |
@@ -105,6 +105,10 @@ public: |
void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_replacesCurrentHistoryItem = replacesCurrentHistoryItem; } |
bool isCommittedButEmpty() const { return m_state == Committed; } |
+ |
+ void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } |
+ bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; } |
+ |
NavigationType navigationType() const { return m_navigationType; } |
void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; } |
@@ -232,7 +236,8 @@ private: |
Provisional, |
Committed, |
DataReceived, |
- MainResourceDone |
+ MainResourceDone, |
+ SentDidFinishLoad |
}; |
State m_state; |