Commit b878bc10 authored by bartfab@chromium.org's avatar bartfab@chromium.org

Do not bail out early from TiclInvalidationService for managed profiles

There is no need to explicitly check whether the profile is managed when
trying to start the TiclInvalidationService. The service will refuse to
start up anyway because managed profiles never have a signed-in account.

BUG=358696
TEST=Manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266303 0039d316-1c4b-4281-b951-d872f2087c98
parent 193319a2
......@@ -328,11 +328,6 @@ void TiclInvalidationService::Shutdown() {
}
bool TiclInvalidationService::IsReadyToStart() {
if (profile_->IsManaged()) {
DVLOG(2) << "Not starting TiclInvalidationService: User is managed.";
return false;
}
if (identity_provider_->GetActiveAccountId().empty()) {
DVLOG(2) << "Not starting TiclInvalidationService: User is not signed in.";
return false;
......
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