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

Side by Side Diff: chromecast/browser/metrics/cast_stability_metrics_provider.cc

Issue 2373523003: Clean up sparse_histogram.h header (Closed)
Patch Set: Rebase update on Oct 18 Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/installer/util/shell_util.cc ('k') | components/domain_reliability/uploader.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromecast/browser/metrics/cast_stability_metrics_provider.h" 5 #include "chromecast/browser/metrics/cast_stability_metrics_provider.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/metrics/sparse_histogram.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "chromecast/base/pref_names.h" 12 #include "chromecast/base/pref_names.h"
13 #include "chromecast/browser/cast_browser_process.h" 13 #include "chromecast/browser/cast_browser_process.h"
14 #include "chromecast/browser/metrics/cast_metrics_service_client.h" 14 #include "chromecast/browser/metrics/cast_metrics_service_client.h"
15 #include "components/metrics/metrics_service.h" 15 #include "components/metrics/metrics_service.h"
16 #include "components/metrics/proto/system_profile.pb.h" 16 #include "components/metrics/proto/system_profile.pb.h"
17 #include "components/prefs/pref_registry_simple.h" 17 #include "components/prefs/pref_registry_simple.h"
18 #include "components/prefs/pref_service.h" 18 #include "components/prefs/pref_service.h"
19 #include "content/public/browser/child_process_data.h" 19 #include "content/public/browser/child_process_data.h"
20 #include "content/public/browser/navigation_controller.h" 20 #include "content/public/browser/navigation_controller.h"
21 #include "content/public/browser/notification_service.h" 21 #include "content/public/browser/notification_service.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 IncrementPrefValue(prefs::kStabilityRendererFailedLaunchCount); 183 IncrementPrefValue(prefs::kStabilityRendererFailedLaunchCount);
184 } 184 }
185 } 185 }
186 186
187 void CastStabilityMetricsProvider::LogRendererHang() { 187 void CastStabilityMetricsProvider::LogRendererHang() {
188 IncrementPrefValue(prefs::kStabilityRendererHangCount); 188 IncrementPrefValue(prefs::kStabilityRendererHangCount);
189 } 189 }
190 190
191 } // namespace metrics 191 } // namespace metrics
192 } // namespace chromecast 192 } // namespace chromecast
OLDNEW
« no previous file with comments | « chrome/installer/util/shell_util.cc ('k') | components/domain_reliability/uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698