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

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

Issue 717223002: Browser watcher end-end-to-end . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/lkgr
Patch Set: Move to components Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
6 #define COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
7
8 #include <windows.h>
erikwright (departed) 2014/11/14 19:46:10 not used
Sigurður Ásgeirsson 2014/11/17 15:26:58 Done.
9
10 #include "base/strings/string16.h"
11 #include "components/metrics/metrics_provider.h"
12
13 namespace browser_watcher {
14
15 // Provides stability data captured by the Chrome Watcher, namely the browser
16 // process exit codes.
17 class WatcherMetricsProviderWin : public metrics::MetricsProvider {
18 public:
19 explicit WatcherMetricsProviderWin(const base::string16& registry_path);
20
erikwright (departed) 2014/11/14 19:46:09 An explicit destructor should be supplied.
Sigurður Ásgeirsson 2014/11/17 15:26:58 Sure, why?
21 virtual void ProvideStabilityMetrics(
erikwright (departed) 2014/11/14 19:46:10 // metrics::MetricsProvider implementation
Sigurður Ásgeirsson 2014/11/17 15:26:58 Done.
22 metrics::SystemProfileProto* system_profile_proto) override;
23
24 static const char kBrowserExitCodeHistogramName[];
erikwright (departed) 2014/11/14 19:46:10 According to http://google-styleguide.googlecode.c
Sigurður Ásgeirsson 2014/11/17 15:26:58 Done.
25
26 private:
27 base::string16 registry_path_;
28
29 DISALLOW_COPY_AND_ASSIGN(WatcherMetricsProviderWin);
erikwright (departed) 2014/11/14 19:46:10 IWYU base/macros.h
Sigurður Ásgeirsson 2014/11/17 15:26:58 Done.
30 };
31
32 } // namespace browser_watcher
33
34 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_METRICS_PROVIDER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698