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 c5c1755c654752e8d255c94e3d25ddddc04fb73e..163a511d678bdb03c27163a451eef35870cf4dbc 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; |