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

Side by Side Diff: chrome/browser/android/metrics/uma_session_stats.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ANDROID_METRICS_UMA_SESSION_STATS_H_ 5 #ifndef CHROME_BROWSER_ANDROID_METRICS_UMA_SESSION_STATS_H_
6 #define CHROME_BROWSER_ANDROID_METRICS_UMA_SESSION_STATS_H_ 6 #define CHROME_BROWSER_ANDROID_METRICS_UMA_SESSION_STATS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <stdint.h>
9 #include <string> 10 #include <string>
10 11
11 #include "base/android/scoped_java_ref.h" 12 #include "base/android/scoped_java_ref.h"
13 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/time/time.h" 15 #include "base/time/time.h"
14 16
15 class UserActionRateCounter; 17 class UserActionRateCounter;
16 18
17 // The native part of java UmaSessionStats class. 19 // The native part of java UmaSessionStats class.
18 class UmaSessionStats { 20 class UmaSessionStats {
19 public: 21 public:
20 UmaSessionStats(); 22 UmaSessionStats();
21 23
(...skipping 17 matching lines...) Expand all
39 base::TimeTicks session_start_time_; 41 base::TimeTicks session_start_time_;
40 int active_session_count_; 42 int active_session_count_;
41 43
42 DISALLOW_COPY_AND_ASSIGN(UmaSessionStats); 44 DISALLOW_COPY_AND_ASSIGN(UmaSessionStats);
43 }; 45 };
44 46
45 // Registers the native methods through jni 47 // Registers the native methods through jni
46 bool RegisterUmaSessionStats(JNIEnv* env); 48 bool RegisterUmaSessionStats(JNIEnv* env);
47 49
48 #endif // CHROME_BROWSER_ANDROID_METRICS_UMA_SESSION_STATS_H_ 50 #endif // CHROME_BROWSER_ANDROID_METRICS_UMA_SESSION_STATS_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/media/media_throttle_infobar_delegate.cc ('k') | chrome/browser/android/metrics/uma_session_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698