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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2773973002: Add Startup.BrowserView.FirstPaint / .CompositingEnded histograms. (Closed)
Patch Set: Don't wait for histograms that are not reported during browser_tests. Created 3 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: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index c52fbbf9cf0f10382b5b4e61b18bf9e12d010c8a..15af285ff6c2102c0527e80052ae4a0d3f9d497c 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -822,8 +822,8 @@ void ChromeBrowserMainParts::StartMetricsRecording() {
void ChromeBrowserMainParts::RecordBrowserStartupTime() {
// Don't record any metrics if UI was displayed before this point e.g.
- // warning dialogs.
- if (startup_metric_utils::WasNonBrowserUIDisplayed())
+ // warning dialogs or browser was started in background mode.
+ if (startup_metric_utils::WasMainWindowStartupInterrupted())
return;
bool is_first_run = false;
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/metrics/browser_window_histogram_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698