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

Side by Side Diff: chrome/browser/ui/webui/metrics_handler.h

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_WEBUI_METRICS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/browser/web_ui_message_handler.h" 9 #include "content/public/browser/web_ui_message_handler.h"
10 10
(...skipping 10 matching lines...) Expand all
21 namespace base { 21 namespace base {
22 class ListValue; 22 class ListValue;
23 } 23 }
24 24
25 class MetricsHandler : public content::WebUIMessageHandler { 25 class MetricsHandler : public content::WebUIMessageHandler {
26 public: 26 public:
27 MetricsHandler(); 27 MetricsHandler();
28 virtual ~MetricsHandler(); 28 virtual ~MetricsHandler();
29 29
30 // WebUIMessageHandler implementation. 30 // WebUIMessageHandler implementation.
31 virtual void RegisterMessages() OVERRIDE; 31 virtual void RegisterMessages() override;
32 32
33 // Callback for the "metricsHandler:recordAction" message. This records a 33 // Callback for the "metricsHandler:recordAction" message. This records a
34 // user action. 34 // user action.
35 void HandleRecordAction(const base::ListValue* args); 35 void HandleRecordAction(const base::ListValue* args);
36 36
37 // TODO(dbeam): http://crbug.com/104338 37 // TODO(dbeam): http://crbug.com/104338
38 38
39 // Callback for the "metricsHandler:recordInHistogram" message. This records 39 // Callback for the "metricsHandler:recordInHistogram" message. This records
40 // into a histogram. |args| contains the histogram name, the value to record, 40 // into a histogram. |args| contains the histogram name, the value to record,
41 // and the maximum allowed value, which can be at most 4000. The histogram 41 // and the maximum allowed value, which can be at most 4000. The histogram
42 // will use at most 100 buckets, one for each 1, 10, or 100 different values, 42 // will use at most 100 buckets, one for each 1, 10, or 100 different values,
43 // depending on the maximum value. 43 // depending on the maximum value.
44 void HandleRecordInHistogram(const base::ListValue* args); 44 void HandleRecordInHistogram(const base::ListValue* args);
45 45
46 // Callback for the "metricsHandler:logEventTime" message. 46 // Callback for the "metricsHandler:logEventTime" message.
47 void HandleLogEventTime(const base::ListValue* args); 47 void HandleLogEventTime(const base::ListValue* args);
48 48
49 // Used to log when a user mouses over a tile or title on the NTP. 49 // Used to log when a user mouses over a tile or title on the NTP.
50 void HandleLogMouseover(const base::ListValue* args); 50 void HandleLogMouseover(const base::ListValue* args);
51 51
52 private: 52 private:
53 DISALLOW_COPY_AND_ASSIGN(MetricsHandler); 53 DISALLOW_COPY_AND_ASSIGN(MetricsHandler);
54 }; 54 };
55 55
56 #endif // CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_ 56 #endif // CHROME_BROWSER_UI_WEBUI_METRICS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698