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

Side by Side Diff: components/metrics/persisted_logs.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_METRICS_PERSISTED_LOGS_H_ 5 #ifndef COMPONENTS_METRICS_PERSISTED_LOGS_H_
6 #define COMPONENTS_METRICS_PERSISTED_LOGS_H_ 6 #define COMPONENTS_METRICS_PERSISTED_LOGS_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/basictypes.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h"
13 #include "base/values.h" 15 #include "base/values.h"
14 16
15 class PrefService; 17 class PrefService;
16 18
17 namespace metrics { 19 namespace metrics {
18 20
19 // Maintains a list of unsent logs that are written and restored from disk. 21 // Maintains a list of unsent logs that are written and restored from disk.
20 class PersistedLogs { 22 class PersistedLogs {
21 public: 23 public:
22 // Used to produce a histogram that keeps track of the status of recalling 24 // Used to produce a histogram that keeps track of the status of recalling
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // The index and type of the log staged for upload. If nothing has been 134 // The index and type of the log staged for upload. If nothing has been
133 // staged, the index will be -1. 135 // staged, the index will be -1.
134 int staged_log_index_; 136 int staged_log_index_;
135 137
136 DISALLOW_COPY_AND_ASSIGN(PersistedLogs); 138 DISALLOW_COPY_AND_ASSIGN(PersistedLogs);
137 }; 139 };
138 140
139 } // namespace metrics 141 } // namespace metrics
140 142
141 #endif // COMPONENTS_METRICS_PERSISTED_LOGS_H_ 143 #endif // COMPONENTS_METRICS_PERSISTED_LOGS_H_
OLDNEW
« no previous file with comments | « components/metrics/net/wifi_access_point_info_provider_chromeos.cc ('k') | components/metrics/persisted_logs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698