Index: third_party/WebKit/Source/core/loader/FrameLoaderClient.h |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h |
index 6bbba1018c8506ff55a787c4cdf0e48adba4abf7..41db531c21cc1ce7b0a844854682c69f8080da04 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h |
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h |
@@ -41,6 +41,7 @@ |
#include "platform/heap/Handle.h" |
#include "platform/network/ResourceLoadPriority.h" |
#include "platform/weborigin/Referrer.h" |
+#include "public/platform/WebLoadingBehaviorFlag.h" |
#include "wtf/Forward.h" |
#include "wtf/Vector.h" |
#include <v8.h> |
@@ -140,6 +141,11 @@ public: |
// Will be called when |PerformanceTiming| events are updated |
virtual void didChangePerformanceTiming() { } |
+ // Will be called when a particular loading code path has been used. This |
+ // propogates renderer loading behavior to the browser process for |
+ // histograms. |
+ virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { } |
+ |
// Transmits the change in the set of watched CSS selectors property |
// that match any element on the frame. |
virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0; |