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

Unified Diff: public/web/WebPageImportanceSignals.h

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: public/web/WebPageImportanceSignals.h
diff --git a/public/web/WebPageImportanceSignals.h b/public/web/WebPageImportanceSignals.h
index 6e50ff9d9f7b044d8ab1b44250ac5df630683c98..ead425b6beaf206301d7dc330653f4232c231aa4 100644
--- a/public/web/WebPageImportanceSignals.h
+++ b/public/web/WebPageImportanceSignals.h
@@ -18,6 +18,8 @@ public:
bool hadFormInteraction() const { return m_hadFormInteraction; }
void setHadFormInteraction() { m_hadFormInteraction = true; }
+ bool issuedNonGetXHR() const { return m_issuedNonGetXHR; }
+ void setIssuedNonGetXHR() { m_issuedNonGetXHR = true; }
BLINK_EXPORT void reset();
#if BLINK_IMPLEMENTATION
@@ -26,6 +28,7 @@ public:
private:
bool m_hadFormInteraction : 1;
+ bool m_issuedNonGetXHR : 1;
};
} // namespace blink
« Source/core/xmlhttprequest/XMLHttpRequest.cpp ('K') | « Source/web/WebPageImportanceSignals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698