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

Side by Side Diff: components/browser_watcher/watcher_metrics_provider_win.h

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_ 5 #ifndef COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
6 #define COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_ 6 #define COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "components/metrics/metrics_provider.h" 10 #include "components/metrics/metrics_provider.h"
(...skipping 13 matching lines...) Expand all
24 // - Stability.ExitFunnel.KillProcess: 30 24 // - Stability.ExitFunnel.KillProcess: 30
25 class WatcherMetricsProviderWin : public metrics::MetricsProvider { 25 class WatcherMetricsProviderWin : public metrics::MetricsProvider {
26 public: 26 public:
27 static const char kBrowserExitCodeHistogramName[]; 27 static const char kBrowserExitCodeHistogramName[];
28 static const char kExitFunnelHistogramPrefix[]; 28 static const char kExitFunnelHistogramPrefix[];
29 29
30 // Initializes the reporter. If |report_exit_funnels| is false, the provider 30 // Initializes the reporter. If |report_exit_funnels| is false, the provider
31 // will clear the registry data, but not report it. 31 // will clear the registry data, but not report it.
32 WatcherMetricsProviderWin(const base::char16* registry_path, 32 WatcherMetricsProviderWin(const base::char16* registry_path,
33 bool report_exit_funnels); 33 bool report_exit_funnels);
34 ~WatcherMetricsProviderWin(); 34 ~WatcherMetricsProviderWin() override;
35 35
36 // metrics::MetricsProvider implementation. 36 // metrics::MetricsProvider implementation.
37 virtual void ProvideStabilityMetrics( 37 void ProvideStabilityMetrics(
38 metrics::SystemProfileProto* system_profile_proto) override; 38 metrics::SystemProfileProto* system_profile_proto) override;
39 39
40 private: 40 private:
41 base::string16 registry_path_; 41 base::string16 registry_path_;
42 bool report_exit_funnels_; 42 bool report_exit_funnels_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(WatcherMetricsProviderWin); 44 DISALLOW_COPY_AND_ASSIGN(WatcherMetricsProviderWin);
45 }; 45 };
46 46
47 } // namespace browser_watcher 47 } // namespace browser_watcher
48 48
49 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_ 49 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698