Index: chrome/browser/rlz/chrome_rlz_tracker_delegate.cc |
diff --git a/chrome/browser/rlz/chrome_rlz_tracker_delegate.cc b/chrome/browser/rlz/chrome_rlz_tracker_delegate.cc |
index 2988886a780697baf658d36bf51aab073ee83b83..0da9621fa046c37bf22a228b6bd62a8685102bc3 100644 |
--- a/chrome/browser/rlz/chrome_rlz_tracker_delegate.cc |
+++ b/chrome/browser/rlz/chrome_rlz_tracker_delegate.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/common/pref_names.h" |
#include "components/google/core/browser/google_util.h" |
#include "components/omnibox/browser/omnibox_log.h" |
+#include "components/pref_registry/pref_registry_syncable.h" |
#include "components/prefs/pref_service.h" |
#include "components/search_engines/template_url.h" |
#include "components/search_engines/template_url_service.h" |
@@ -29,6 +30,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/common/content_switches.h" |
+#include "rlz/features/features.h" |
#if defined(OS_WIN) |
#include "chrome/installer/util/google_update_settings.h" |
@@ -41,6 +43,14 @@ ChromeRLZTrackerDelegate::~ChromeRLZTrackerDelegate() { |
} |
// static |
+void ChromeRLZTrackerDelegate::RegisterProfilePrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
+#if BUILDFLAG(ENABLE_RLZ) |
+ registry->RegisterIntegerPref(prefs::kRlzPingDelaySeconds, 90); |
+#endif |
+} |
+ |
+// static |
bool ChromeRLZTrackerDelegate::IsGoogleDefaultSearch(Profile* profile) { |
bool is_google_default_search = false; |
TemplateURLService* template_url_service = |