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

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

Issue 64273006: Move ExtensionFunction to the extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "chrome/browser/extensions/extension_function.h" 11 #include "extensions/browser/extension_function.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class MetricsPrivateGetIsCrashReportingEnabledFunction 15 class MetricsPrivateGetIsCrashReportingEnabledFunction
16 : public SyncExtensionFunction { 16 : public SyncExtensionFunction {
17 public: 17 public:
18 DECLARE_EXTENSION_FUNCTION("metricsPrivate.getIsCrashReportingEnabled", 18 DECLARE_EXTENSION_FUNCTION("metricsPrivate.getIsCrashReportingEnabled",
19 METRICSPRIVATE_GETISCRASHRECORDINGENABLED) 19 METRICSPRIVATE_GETISCRASHRECORDINGENABLED)
20 20
21 protected: 21 protected:
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 protected: 170 protected:
171 virtual ~MetricsPrivateRecordLongTimeFunction() {} 171 virtual ~MetricsPrivateRecordLongTimeFunction() {}
172 172
173 // ExtensionFunction: 173 // ExtensionFunction:
174 virtual bool RunImpl() OVERRIDE; 174 virtual bool RunImpl() OVERRIDE;
175 }; 175 };
176 176
177 } // namespace extensions 177 } // namespace extensions
178 178
179 #endif // CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_ 179 #endif // CHROME_BROWSER_EXTENSIONS_API_METRICS_PRIVATE_METRICS_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698