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

Side by Side Diff: components/metrics/metrics_log_manager.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
« no previous file with comments | « components/metrics/metrics_log.cc ('k') | components/metrics/metrics_log_manager_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_METRICS_LOG_MANAGER_H_ 5 #ifndef COMPONENTS_METRICS_METRICS_LOG_MANAGER_H_
6 #define COMPONENTS_METRICS_METRICS_LOG_MANAGER_H_ 6 #define COMPONENTS_METRICS_METRICS_LOG_MANAGER_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" 13 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "components/metrics/metrics_log.h" 15 #include "components/metrics/metrics_log.h"
14 #include "components/metrics/persisted_logs.h" 16 #include "components/metrics/persisted_logs.h"
15 17
16 namespace metrics { 18 namespace metrics {
17 19
18 // Manages all the log objects used by a MetricsService implementation. Keeps 20 // Manages all the log objects used by a MetricsService implementation. Keeps
19 // track of both an in progress log and a log that is staged for uploading as 21 // track of both an in progress log and a log that is staged for uploading as
20 // text, as well as saving logs to, and loading logs from, persistent storage. 22 // text, as well as saving logs to, and loading logs from, persistent storage.
21 class MetricsLogManager { 23 class MetricsLogManager {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Logs that have not yet been sent. 109 // Logs that have not yet been sent.
108 PersistedLogs initial_log_queue_; 110 PersistedLogs initial_log_queue_;
109 PersistedLogs ongoing_log_queue_; 111 PersistedLogs ongoing_log_queue_;
110 112
111 DISALLOW_COPY_AND_ASSIGN(MetricsLogManager); 113 DISALLOW_COPY_AND_ASSIGN(MetricsLogManager);
112 }; 114 };
113 115
114 } // namespace metrics 116 } // namespace metrics
115 117
116 #endif // COMPONENTS_METRICS_METRICS_LOG_MANAGER_H_ 118 #endif // COMPONENTS_METRICS_METRICS_LOG_MANAGER_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_log.cc ('k') | components/metrics/metrics_log_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698