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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change null enum name Created 4 years, 8 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: 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..2073420a5ead7fbb1398cc38f378d47ea6006973 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/WebLoadingData.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
#include <v8.h>
@@ -140,6 +141,10 @@ 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 data to the browser for histograms.
Charlie Harrison 2016/04/05 22:26:06 "browser process"
Charlie Harrison 2016/04/06 14:24:51 Done.
+ virtual void didObserveLoadingBehavior(WebLoadingData) { }
+
// 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;

Powered by Google App Engine
This is Rietveld 408576698