Index: extensions/shell/browser/api/metrics_private/shell_metrics_private_delegate.h |
diff --git a/extensions/shell/browser/api/metrics_private/shell_metrics_private_delegate.h b/extensions/shell/browser/api/metrics_private/shell_metrics_private_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f98d53ab7cedc608a5d40e8bd067b4df7d8cf1b1 |
--- /dev/null |
+++ b/extensions/shell/browser/api/metrics_private/shell_metrics_private_delegate.h |
@@ -0,0 +1,26 @@ |
+// 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
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DELEGATE_H_ |
+#define EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DELEGATE_H_ |
+ |
+#include "base/macros.h" |
+#include "extensions/browser/api/metrics_private/metrics_private_delegate.h" |
+ |
+namespace extensions { |
+ |
+class ShellMetricsPrivateDelegate : public MetricsPrivateDelegate { |
+ public: |
+ ShellMetricsPrivateDelegate() {} |
+ ~ShellMetricsPrivateDelegate() override {} |
+ |
+ bool IsCrashReportingEnabled() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ShellMetricsPrivateDelegate); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // EXTENSIONS_SHELL_BROWSER_API_METRICS_PRIVATE_SHELL_METRICS_PRIVATE_DELEGATE_H_ |