OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
Devlin
2016/09/26 16:27:13
When is this used?
Rahul Chaturvedi
2016/09/26 18:22:59
https://codereview.chromium.org/2331343012/diff/20
Devlin
2016/09/26 18:26:31
Right, but the object offers no value there. I do
michaelpg
2016/09/27 00:07:44
I like that idea, in general. We wouldn't have to
michaelpg
2016/09/27 00:09:30
(although I'll note, we do need to add that functi
Rahul Chaturvedi
2016/09/27 18:41:57
I like the idea of adding functionality when neede
| |
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 EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DELEG ATE_H_ | |
6 #define EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DELEG ATE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "extensions/browser/api/metrics_private/metrics_private_delegate.h" | |
10 | |
11 namespace extensions { | |
12 | |
13 class ShellMetricsPrivateDelegate : public MetricsPrivateDelegate { | |
14 public: | |
15 ShellMetricsPrivateDelegate() {} | |
16 ~ShellMetricsPrivateDelegate() override {} | |
17 | |
18 bool IsCrashReportingEnabled() override; | |
19 | |
20 private: | |
21 DISALLOW_COPY_AND_ASSIGN(ShellMetricsPrivateDelegate); | |
22 }; | |
23 | |
24 } // namespace extensions | |
25 | |
26 #endif // EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DE LEGATE_H_ | |
OLD | NEW |