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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 687273004: Measure the number of frame loads with Flash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments, add more actions Created 6 years, 2 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/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 7ce5ac24f15e3af3258d8dbdd18c69eaf6017762..bd901b0c563e9e8d9d8cf69ff48725ef50c64c1f 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2746,6 +2746,7 @@ void WebContentsImpl::OnDidStartLoading(bool to_different_document) {
loading_progresses_[render_frame_id] = kMinimumLoadingProgress;
SendLoadProgressChanged();
+ RecordAction(base::UserMetricsAction("FrameLoad"));
Charlie Reis 2014/10/31 16:55:45 DidStartLoading isn't the right place for this-- t
Lei Zhang 2014/11/01 00:51:47 FWIW, the PageLoad metric that's used as part of "
}
void WebContentsImpl::OnDidStopLoading() {
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | tools/metrics/actions/actions.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698