blob: 08215e2593915366b322b0139cbff61545c2bfd8 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/commerce/core/pref_names.h"
#include "base/time/time.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_registry_simple.h"
namespace commerce {
void RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterBooleanPref(
kPriceEmailNotificationsEnabled, false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterTimePref(kCommerceDailyMetricsLastUpdateTime, base::Time());
registry->RegisterTimePref(kShoppingListBookmarkLastUpdateTime, base::Time());
registry->RegisterBooleanPref(kShoppingListEnabledPrefName, true);
registry->RegisterTimePref(kProductSpecificationsEntryPointLastDismissedTime,
base::Time());
registry->RegisterIntegerPref(
kProductSpecificationsEntryPointShowIntervalInDays, 0);
registry->RegisterIntegerPref(kProductSpecificationsAcceptedDisclosureVersion,
0 /* UNKNOWN */);
}
} // namespace commerce