Index: components/metrics/metrics_log_manager.h |
diff --git a/components/metrics/metrics_log_manager.h b/components/metrics/metrics_log_manager.h |
index 7fb28b38e1b4c2f042a6b533c1bc5ad5dfd76ed8..38815b5b94e36008960a423bfc62d0f853cc796a 100644 |
--- a/components/metrics/metrics_log_manager.h |
+++ b/components/metrics/metrics_log_manager.h |
@@ -90,10 +90,11 @@ class MetricsLogManager { |
// Loads any unsent logs from persistent storage. |
void LoadPersistedUnsentLogs(); |
- private: |
- // Saves |log_data| as the given type. |
+ // Saves |log_data| as the given type. Public to allow to push log created by |
+ // external components. |
void StoreLog(const std::string& log_data, MetricsLog::LogType log_type); |
+ private: |
// Tracks whether unsent logs (if any) have been loaded from the serializer. |
bool unsent_logs_loaded_; |