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

Unified Diff: components/metrics/persisted_logs.h

Issue 2610653003: Remove old-format PersistedLogs support (Closed)
Patch Set: Remove old-format PersistedLogs support Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics/metrics_pref_names.cc ('k') | components/metrics/persisted_logs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/persisted_logs.h
diff --git a/components/metrics/persisted_logs.h b/components/metrics/persisted_logs.h
index 2af474bb341964162a8a684cbf834a96e2c7ceeb..18a80008dbea37c5eda518c9584589f161a16a1e 100644
--- a/components/metrics/persisted_logs.h
+++ b/components/metrics/persisted_logs.h
@@ -55,7 +55,6 @@ class PersistedLogs {
PersistedLogs(std::unique_ptr<PersistedLogsMetrics> metrics,
PrefService* local_state,
const char* pref_name,
- const char* outdated_pref_name,
size_t min_log_count,
size_t min_log_bytes,
size_t max_log_size);
@@ -111,9 +110,6 @@ class PersistedLogs {
// Reads the list from the ListValue.
LogReadStatus ReadLogsFromPrefList(const base::ListValue& list);
- // Reads the list from the ListValue in the old Log-hash pair format.
- LogReadStatus ReadLogsFromOldFormatPrefList(const base::ListValue& list);
-
// An object for recording UMA metrics.
std::unique_ptr<PersistedLogsMetrics> metrics_;
@@ -125,10 +121,6 @@ class PersistedLogs {
// The name of the preference to serialize logs to/from.
const char* pref_name_;
- // The name of the preference to serialize logs to/from which may contain log
- // in the old formatting.
- const char* outdated_pref_name_;
-
// We will keep at least this |min_log_count_| logs or |min_log_bytes_| bytes
// of logs, whichever is greater, when writing to disk. These apply after
// skipping logs greater than |max_log_size_|.
« no previous file with comments | « components/metrics/metrics_pref_names.cc ('k') | components/metrics/persisted_logs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698