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

Side by Side Diff: chrome/browser/extensions/api/metrics_private/chrome_metrics_private_delegate.h

Issue 2331343012: Create MetricsPrivateDelegate for metricsPrivate behavior (Closed)
Patch Set: ExtensionsAPIClient owns MetricsPrivateDelegate instance Created 4 years, 3 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.
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 CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_CHROME_METRICS_PRIVATE_DEL EGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_CHROME_METRICS_PRIVATE_DEL EGATE_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 ChromeMetricsPrivateDelegate : public MetricsPrivateDelegate {
14 public:
15 ChromeMetricsPrivateDelegate() {}
16 ~ChromeMetricsPrivateDelegate() override {}
17
18 bool IsCrashReportingEnabled() override;
Ilya Sherman 2016/09/23 22:39:59 I'm honestly somewhat uncomfortable allowing all c
michaelpg 2016/09/23 23:48:15 Does this CL change that, from an API standpoint?
Ilya Sherman 2016/09/27 01:33:13 This CL doesn't change the status quo dramatically
Rahul Chaturvedi 2016/09/27 18:41:57 I am a bit confused here. This is a private API. A
Ilya Sherman 2016/09/27 20:58:29 A security review has nothing to do with the issue
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(ChromeMetricsPrivateDelegate);
22 };
23
24 } // namespace extensions
25
26 #endif // CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_CHROME_METRICS_PRIVATE_ DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698