summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 14:16:35 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 14:16:35 +0000
commit60a652ae55601b7b5c8506afec2382cc908cef0b (patch)
tree68ad57f938e56ce772f2104e1e0a86ba6c739afa
parentb8794703583df8d02766a8228ee322a69e112c00 (diff)
downloadchromium_src-60a652ae55601b7b5c8506afec2382cc908cef0b.zip
chromium_src-60a652ae55601b7b5c8506afec2382cc908cef0b.tar.gz
chromium_src-60a652ae55601b7b5c8506afec2382cc908cef0b.tar.bz2
Suppress the Startup.BrowserWindowDisplay metric when the Windows 8 first-run default browser dialog is shown.
BUG=156121 TEST=none Review URL: https://chromiumcodereview.appspot.com/11189006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162395 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/startup/default_browser_prompt_win.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/ui/startup/default_browser_prompt_win.cc b/chrome/browser/ui/startup/default_browser_prompt_win.cc
index 8ad07a4..ea9e80e 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;
}