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

Unified Diff: content/public/renderer/render_frame_observer.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: content/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index ea2ba2b7035df6252c77e9ba80eb75620c01f59b..7a9b8cf03e9fc9f521bfacf9d2e8dc9f27db8d3f 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "third_party/WebKit/public/platform/WebLoadingData.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebMeaningfulLayout.h"
#include "v8/include/v8.h"
@@ -112,6 +113,10 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Notifications when |PerformanceTiming| data becomes available
virtual void DidChangePerformanceTiming() {}
+ // Notification when renderer uses an particular code path during a page
+ // load. This is used for metrics collection.
Charlie Harrison 2016/04/05 22:26:06 "when the renderer"
Charlie Harrison 2016/04/06 14:24:51 Done.
+ virtual void DidObserveLoadingBehavior(blink::WebLoadingData data) {}
kinuko 2016/04/06 05:54:14 |data| sounds like a payload, let's consistently u
Charlie Harrison 2016/04/06 14:24:51 Done.
+
// Called when the focused node has changed to |node|.
virtual void FocusedNodeChanged(const blink::WebNode& node) {}
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | third_party/WebKit/Source/core/loader/FrameLoaderClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698