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

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

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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/uma_browsing_activity_observer.cc
diff --git a/chrome/browser/ui/uma_browsing_activity_observer.cc b/chrome/browser/ui/uma_browsing_activity_observer.cc
index 85e01ba2a91da03854662f44536a0099f6e2d4aa..eaae4676fb3db22c62c60917bee1b4b663653cdc 100644
--- a/chrome/browser/ui/uma_browsing_activity_observer.cc
+++ b/chrome/browser/ui/uma_browsing_activity_observer.cc
@@ -71,7 +71,6 @@ void UMABrowsingActivityObserver::LogRenderProcessHostCount() const {
void UMABrowsingActivityObserver::LogBrowserTabCount() const {
int tab_count = 0;
int app_window_count = 0;
- int panel_window_count = 0;
int popup_window_count = 0;
int tabbed_window_count = 0;
for (chrome::BrowserIterator it; !it.done(); it.Next()) {
@@ -91,8 +90,6 @@ void UMABrowsingActivityObserver::LogBrowserTabCount() const {
if (browser->is_app())
app_window_count++;
- else if (browser->is_type_panel())
- panel_window_count++;
else if (browser->is_type_popup())
popup_window_count++;
else if (browser->is_type_tabbed())
@@ -104,8 +101,6 @@ void UMABrowsingActivityObserver::LogBrowserTabCount() const {
// Record how many windows are open, by type.
UMA_HISTOGRAM_COUNTS_100("WindowManager.AppWindowCountPerLoad",
app_window_count);
- UMA_HISTOGRAM_COUNTS_100("WindowManager.PanelWindowCountPerLoad",
- panel_window_count);
UMA_HISTOGRAM_COUNTS_100("WindowManager.PopUpWindowCountPerLoad",
popup_window_count);
UMA_HISTOGRAM_COUNTS_100("WindowManager.TabbedWindowCountPerLoad",
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698