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

Unified Diff: components/metrics/file_metrics_provider.h

Issue 2938263002: Put BrowserMetrics with embedded profiles into subdir for auto-upload. (Closed)
Patch Set: rebased Created 3 years, 6 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
Index: components/metrics/file_metrics_provider.h
diff --git a/components/metrics/file_metrics_provider.h b/components/metrics/file_metrics_provider.h
index a19577b1317a8f856bdc5720747aa5b7ec8096ab..6573475b4d178c3a6b2f70696e2f1ee3573198c8 100644
--- a/components/metrics/file_metrics_provider.h
+++ b/components/metrics/file_metrics_provider.h
@@ -57,7 +57,9 @@ class FileMetricsProvider : public MetricsProvider,
// the ImportantFileWriter) will not get read. Files that have been
// read will be attempted to be deleted; should those files not be
// deletable by this process, it is the reponsibility of the producer
- // to keep the directory pruned in some manner.
+ // to keep the directory pruned in some manner. Added files must have a
+ // timestamp later (not the same or earlier) than the newest file that
+ // already exists or it may be assumed to have been already uploaded.
SOURCE_HISTOGRAMS_ATOMIC_DIR,
// "Active" files may be open by one or more other processes and updated

Powered by Google App Engine
This is Rietveld 408576698