Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1773)

Unified Diff: chrome/browser/invalidation/ticl_invalidation_service.cc

Issue 258503006: Do not bail out early from TiclInvalidationService for managed profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do instantiate TiclInvalidationService for managed profiles. It is needed as a dependency, even if … Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/invalidation/ticl_invalidation_service.cc
diff --git a/chrome/browser/invalidation/ticl_invalidation_service.cc b/chrome/browser/invalidation/ticl_invalidation_service.cc
index 8db91112eed2841dc898186def6549b1a27f179d..7f0d65c1a1e471c83eb5fb2cb2d962447853f536 100644
--- a/chrome/browser/invalidation/ticl_invalidation_service.cc
+++ b/chrome/browser/invalidation/ticl_invalidation_service.cc
@@ -327,11 +327,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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698