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

Side by Side Diff: chromecast/metrics/cast_stability_metrics_provider.h

Issue 630663003: replace OVERRIDE and FINAL with override and final in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 #ifndef CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ 5 #ifndef CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_
6 #define CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ 6 #define CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/metrics/user_metrics.h" 9 #include "base/metrics/user_metrics.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 20 matching lines...) Expand all
31 public content::BrowserChildProcessObserver, 31 public content::BrowserChildProcessObserver,
32 public content::NotificationObserver { 32 public content::NotificationObserver {
33 public: 33 public:
34 // Registers local state prefs used by this class. 34 // Registers local state prefs used by this class.
35 static void RegisterPrefs(PrefRegistrySimple* registry); 35 static void RegisterPrefs(PrefRegistrySimple* registry);
36 36
37 CastStabilityMetricsProvider(); 37 CastStabilityMetricsProvider();
38 virtual ~CastStabilityMetricsProvider(); 38 virtual ~CastStabilityMetricsProvider();
39 39
40 // metrics::MetricsDataProvider implementation: 40 // metrics::MetricsDataProvider implementation:
41 virtual void OnRecordingEnabled() OVERRIDE; 41 virtual void OnRecordingEnabled() override;
42 virtual void OnRecordingDisabled() OVERRIDE; 42 virtual void OnRecordingDisabled() override;
43 virtual void ProvideStabilityMetrics( 43 virtual void ProvideStabilityMetrics(
44 ::metrics::SystemProfileProto* system_profile_proto) OVERRIDE; 44 ::metrics::SystemProfileProto* system_profile_proto) override;
45 45
46 private: 46 private:
47 // content::NotificationObserver implementation: 47 // content::NotificationObserver implementation:
48 virtual void Observe(int type, 48 virtual void Observe(int type,
49 const content::NotificationSource& source, 49 const content::NotificationSource& source,
50 const content::NotificationDetails& details) OVERRIDE; 50 const content::NotificationDetails& details) override;
51 51
52 // content::BrowserChildProcessObserver implementation: 52 // content::BrowserChildProcessObserver implementation:
53 virtual void BrowserChildProcessCrashed( 53 virtual void BrowserChildProcessCrashed(
54 const content::ChildProcessData& data) OVERRIDE; 54 const content::ChildProcessData& data) override;
55 55
56 // Records a renderer process crash. 56 // Records a renderer process crash.
57 void LogRendererCrash(content::RenderProcessHost* host, 57 void LogRendererCrash(content::RenderProcessHost* host,
58 base::TerminationStatus status, 58 base::TerminationStatus status,
59 int exit_code); 59 int exit_code);
60 60
61 // Records a renderer process hang. 61 // Records a renderer process hang.
62 void LogRendererHang(); 62 void LogRendererHang();
63 63
64 // Registrar for receiving stability-related notifications. 64 // Registrar for receiving stability-related notifications.
65 content::NotificationRegistrar registrar_; 65 content::NotificationRegistrar registrar_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(CastStabilityMetricsProvider); 67 DISALLOW_COPY_AND_ASSIGN(CastStabilityMetricsProvider);
68 }; 68 };
69 69
70 } // namespace metrics 70 } // namespace metrics
71 } // namespace chromecast 71 } // namespace chromecast
72 72
73 #endif // CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ 73 #endif // CHROMECAST_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chromecast/metrics/cast_metrics_service_client_unittest.cc ('k') | chromecast/net/network_change_notifier_cast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698