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

Side by Side Diff: chrome/browser/sessions/session_restore_stats_collector.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sessions/session_restore_stats_collector.h" 5 #include "chrome/browser/sessions/session_restore_stats_collector.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/time/default_tick_clock.h" 12 #include "base/time/default_tick_clock.h"
13 #include "content/public/browser/notification_service.h" 13 #include "content/public/browser/notification_service.h"
14 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/render_widget_host.h" 15 #include "content/public/browser/render_widget_host.h"
16 #include "content/public/browser/render_widget_host_view.h" 16 #include "content/public/browser/render_widget_host_view.h"
17 #include "content/public/browser/web_contents.h" 17 #include "content/public/browser/web_contents.h"
18 18
19 namespace { 19 namespace {
20 20
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 530
531 EmitUmaSessionRestoreTabActionEvent( 531 EmitUmaSessionRestoreTabActionEvent(
532 SESSION_RESTORE_TAB_ACTIONS_UMA_TAB_LOADING_DEFERRED); 532 SESSION_RESTORE_TAB_ACTIONS_UMA_TAB_LOADING_DEFERRED);
533 } 533 }
534 534
535 void SessionRestoreStatsCollector::UmaStatsReportingDelegate:: 535 void SessionRestoreStatsCollector::UmaStatsReportingDelegate::
536 ReportDeferredTabLoaded() { 536 ReportDeferredTabLoaded() {
537 EmitUmaSessionRestoreTabActionEvent( 537 EmitUmaSessionRestoreTabActionEvent(
538 SESSION_RESTORE_TAB_ACTIONS_UMA_DEFERRED_TAB_LOADED); 538 SESSION_RESTORE_TAB_ACTIONS_UMA_DEFERRED_TAB_LOADED);
539 } 539 }
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698