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

Side by Side Diff: extensions/shell/browser/api/metrics_private/shell_metrics_private_delegate.h

Issue 2331343012: Create MetricsPrivateDelegate for metricsPrivate behavior (Closed)
Patch Set: ExtensionsAPIClient owns MetricsPrivateDelegate instance Created 4 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698