Commit 2daab5f9 authored by beaudoin's avatar beaudoin Committed by Commit bot

Enable SuggestionsService by default.

BUG=387105

Review URL: https://codereview.chromium.org/1024553003

Cr-Commit-Position: refs/heads/master@{#321474}
parent 7547b20c
......@@ -28,9 +28,6 @@ namespace suggestions {
// static
SuggestionsService* SuggestionsServiceFactory::GetForProfile(Profile* profile) {
if (!SuggestionsService::IsEnabled())
return NULL;
return static_cast<SuggestionsService*>(
GetInstance()->GetServiceForBrowserContext(profile, true));
}
......
......@@ -118,12 +118,6 @@ SuggestionsService::SuggestionsService(
SuggestionsService::~SuggestionsService() {}
// static
bool SuggestionsService::IsEnabled() {
return GetExperimentParam(kSuggestionsFieldTrialStateParam) ==
kSuggestionsFieldTrialStateEnabled;
}
// static
bool SuggestionsService::IsControlGroup() {
return GetExperimentParam(kSuggestionsFieldTrialControlParam) ==
......
......@@ -61,9 +61,6 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate {
scoped_ptr<BlacklistStore> blacklist_store);
~SuggestionsService() override;
// Whether this service is enabled.
static bool IsEnabled();
// Whether the user is part of a control group.
static bool IsControlGroup();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment