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

Unified Diff: chrome/browser/ui/browser_navigator.cc

Issue 2448553002: A different approach to fixing FirstWebContentsProfiler with PlzNavigate. (Closed)
Patch Set: Created 4 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: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 251e61855691d52949d509cbff5965a89e4bb0c5..66a92f9d8a2f27a321feb9950c6c1cdcd950d602 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -55,10 +55,6 @@
#include "extensions/common/extension_set.h"
#endif
-#if !defined(OS_ANDROID)
-#include "chrome/browser/metrics/first_web_contents_profiler.h"
-#endif // !defined(OS_ANDROID)
-
using content::GlobalRequestID;
using content::NavigationController;
using content::WebContents;
@@ -385,9 +381,6 @@ content::WebContents* CreateTargetContents(const chrome::NavigateParams& params,
SetExtensionAppById(params.extension_app_id);
#endif
-#if !defined(OS_ANDROID)
- FirstWebContentsProfiler::WebContentsStarted(target_contents);
-#endif // !defined(OS_ANDROID)
return target_contents;
}

Powered by Google App Engine
This is Rietveld 408576698