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

Side by Side Diff: chrome/browser/extensions/extension_metrics_module.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | 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_EXTENSION_METRICS_MODULE_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
12 #include "chrome/browser/extensions/extension_function.h" 11 #include "chrome/browser/extensions/extension_function.h"
13 12
14 class MetricsRecordUserActionFunction : public SyncExtensionFunction { 13 class MetricsRecordUserActionFunction : public SyncExtensionFunction {
15 public: 14 public:
16 DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordUserAction") 15 DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordUserAction")
17 16
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordLongTime") 112 DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordLongTime")
114 113
115 protected: 114 protected:
116 virtual ~MetricsRecordLongTimeFunction() {} 115 virtual ~MetricsRecordLongTimeFunction() {}
117 116
118 // ExtensionFunction: 117 // ExtensionFunction:
119 virtual bool RunImpl() OVERRIDE; 118 virtual bool RunImpl() OVERRIDE;
120 }; 119 };
121 120
122 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__ 121 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.h ('k') | chrome/browser/extensions/extension_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698