#include "chrome/browser/browser_process.h"
#include "chrome/common/pref_names.h"
+using metrics::MetricsLogBase;
+using metrics::MetricsLogManager;
+
namespace {
// The number of "initial" logs to save, and hope to send during a future Chrome
const char* pref = NULL;
size_t store_length_limit = 0;
switch (log_type) {
- case MetricsLogBase::INITIAL_LOG:
+ case MetricsLogBase::INITIAL_STABILITY_LOG:
pref = prefs::kMetricsInitialLogs;
store_length_limit = kInitialLogsPersistLimit;
break;
DCHECK(local_state);
const char* pref;
- if (log_type == MetricsLogBase::INITIAL_LOG)
+ if (log_type == MetricsLogBase::INITIAL_STABILITY_LOG)
pref = prefs::kMetricsInitialLogs;
else
pref = prefs::kMetricsOngoingLogs;