Index: chrome/browser/android/history_report/usage_reports_buffer_service.h |
diff --git a/chrome/browser/android/history_report/usage_reports_buffer_service.h b/chrome/browser/android/history_report/usage_reports_buffer_service.h |
index f98b3b5d3f47982506e05d82bfdc655a4a4c907b..2c8bdaef94b687943c93c4fa0dde28e6353c332c 100644 |
--- a/chrome/browser/android/history_report/usage_reports_buffer_service.h |
+++ b/chrome/browser/android/history_report/usage_reports_buffer_service.h |
@@ -5,9 +5,12 @@ |
#ifndef CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORTS_BUFFER_SERVICE_H_ |
#define CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORTS_BUFFER_SERVICE_H_ |
+#include <stdint.h> |
+ |
#include <string> |
#include <vector> |
+#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/threading/sequenced_worker_pool.h" |
@@ -32,10 +35,10 @@ class UsageReportsBufferService { |
void Init(); |
// Add report about page visit to the buffer. It's asynchronous. |
- void AddVisit(const std::string& id, int64 timestamp_ms, bool typed_visit); |
+ void AddVisit(const std::string& id, int64_t timestamp_ms, bool typed_visit); |
// Get a batch of usage reports of size up to |batch_size|. It's synchronous. |
- scoped_ptr<std::vector<UsageReport> > GetUsageReportsBatch(int32 batch_size); |
+ scoped_ptr<std::vector<UsageReport>> GetUsageReportsBatch(int32_t batch_size); |
// Remove given usage reports from buffer. It's synchronous. |
void Remove(const std::vector<std::string>& report_ids); |