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

Unified Diff: components/metrics/metrics_log_manager.h

Issue 290103005: Remove the provisional store and just store the staged log when writing to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/metrics/metrics_log_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_log_manager.h
diff --git a/components/metrics/metrics_log_manager.h b/components/metrics/metrics_log_manager.h
index 0bdc886c37950df65ab9d21a7a74249afc298f7c..7fb28b38e1b4c2f042a6b533c1bc5ad5dfd76ed8 100644
--- a/components/metrics/metrics_log_manager.h
+++ b/components/metrics/metrics_log_manager.h
@@ -84,20 +84,6 @@ class MetricsLogManager {
// This should only be called if there is not a current log.
void ResumePausedLog();
- // Saves the staged log, then clears staged_log().
- // If |store_type| is PROVISIONAL_STORE, it can be dropped from storage with
- // a later call to DiscardLastProvisionalStore (if it hasn't already been
- // staged again).
- // This is intended to be used when logs are being saved while an upload is in
- // progress, in case the upload later succeeds.
- // This can only be called if has_staged_log() is true.
- void StoreStagedLogAsUnsent(PersistedLogs::StoreType store_type);
-
- // Discards the last log stored with StoreStagedLogAsUnsent with |store_type|
- // set to PROVISIONAL_STORE, as long as it hasn't already been re-staged. If
- // the log is no longer present, this is a no-op.
- void DiscardLastProvisionalStore();
-
// Saves any unsent logs to persistent storage.
void PersistUnsentLogs();
« no previous file with comments | « no previous file | components/metrics/metrics_log_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698