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

Side by Side Diff: chrome/browser/chromeos/kiosk_mode/kiosk_mode_metrics.h

Issue 10825257: Remove metrics collection from Kiosk Mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/kiosk_mode/kiosk_mode_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_METRICS_H_
6 #define CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_METRICS_H_
7
8 #include "base/time.h"
9
10 namespace chromeos {
11
12 // This class gathers metrics for Kiosk Mode.
13 class KioskModeMetrics {
14 public:
15 static KioskModeMetrics* Get();
16
17 // This method records that the demo user session was started.
18 void SessionStarted();
19
20 // This method records that the demo user session was ended.
21 void SessionEnded();
22
23 // This method records that the user opened an app.
24 void UserOpenedApp();
25
26 private:
27 KioskModeMetrics();
28 ~KioskModeMetrics();
29
30 base::Time session_started_;
31 size_t apps_opened_;
32
33 DISALLOW_COPY_AND_ASSIGN(KioskModeMetrics);
34 };
35
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_CHROMEOS_KIOSK_MODE_KIOSK_MODE_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/kiosk_mode/kiosk_mode_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698