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

Unified Diff: chrome/browser/page_load_metrics/metrics_web_contents_observer.h

Issue 2952343004: Adding previews information to PLM UKM (Closed)
Patch Set: change over tests + adding booleans instead of bitmask Created 3 years, 5 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/page_load_metrics/metrics_web_contents_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_load_metrics/metrics_web_contents_observer.h
diff --git a/chrome/browser/page_load_metrics/metrics_web_contents_observer.h b/chrome/browser/page_load_metrics/metrics_web_contents_observer.h
index 5d35bf3ebc7fc1ced60bdc9e4e6f185acbbdeae6..b54b71f93f8b365a4f266e9520caadeec7eeb75f 100644
--- a/chrome/browser/page_load_metrics/metrics_web_contents_observer.h
+++ b/chrome/browser/page_load_metrics/metrics_web_contents_observer.h
@@ -138,6 +138,11 @@ class MetricsWebContentsObserver
const mojom::PageLoadTiming& timing,
const mojom::PageLoadMetadata& metadata);
+ // Informs the observers of the currently committed load that the event
+ // corresponding to |event_key| has occurred. This should not be called within
+ // WebContentsObserver::DidFinishNavigation methods.
+ void BroadcastEventToObservers(const void* const event_key);
Bryan McQuade 2017/07/12 21:10:03 let's add to the comment that this API is subject
RyanSturm 2017/07/12 21:27:27 Done.
+
private:
friend class content::WebContentsUserData<MetricsWebContentsObserver>;
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/page_load_metrics/metrics_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698