#include "chrome/browser/domain_reliability/service_factory.h"
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
#include "chrome/common/chrome_switches.h"
#include "components/domain_reliability/domain_reliability_prefs.h"
#include "components/prefs/pref_service.h"
namespace domain_reliability {
namespace {
const bool kDefaultEnabled = …;
const char kFieldTrialName[] = …;
const char kFieldTrialValueEnable[] = …;
bool IsDomainReliabilityAllowed() { … }
}
const char kUploadReporterString[] = …;
bool ShouldCreateService() { … }
}