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

Unified Diff: chrome/browser/ui/startup/default_browser_prompt_win.cc

Issue 11189006: Suppress the Startup.BrowserWindowDisplay metric when the Windows 8 first-run default browser dialo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/default_browser_prompt_win.cc
diff --git a/chrome/browser/ui/startup/default_browser_prompt_win.cc b/chrome/browser/ui/startup/default_browser_prompt_win.cc
index 8ad07a4d965a525c4db4ffa10a076bfab1971a41..ea9e80ee44f3379105ea9436fd3741a2a9e14b9d 100644
--- a/chrome/browser/ui/startup/default_browser_prompt_win.cc
+++ b/chrome/browser/ui/startup/default_browser_prompt_win.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/webui/set_as_default_browser_ui.h"
#include "chrome/common/pref_names.h"
+#include "chrome/common/startup_metric_utils.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
@@ -79,8 +80,10 @@ bool ShowFirstRunDefaultBrowserPrompt(Profile* profile) {
(ShellIntegration::IsDefaultBrowser() ==
ShellIntegration::NOT_DEFAULT_WEB_CLIENT);
- if (show_status)
+ if (show_status) {
+ startup_metric_utils::SetNonBrowserUIDisplayed();
SetMetroBrowserFlowLauncher::LaunchSoon(profile);
+ }
return show_status;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698