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

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

Issue 1127393005: remove rollback to xmpp when GCM disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update unittest Created 5 years, 7 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 | chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/invalidation/ticl_profile_settings_provider.cc
diff --git a/chrome/browser/invalidation/ticl_profile_settings_provider.cc b/chrome/browser/invalidation/ticl_profile_settings_provider.cc
index 6b2292c9f8eef8fe7e83f4b932c9b60d64245dde..67e3235f991b89f69d435d0e644eab67ead5738c 100644
--- a/chrome/browser/invalidation/ticl_profile_settings_provider.cc
+++ b/chrome/browser/invalidation/ticl_profile_settings_provider.cc
@@ -33,11 +33,6 @@ TiclProfileSettingsProvider::~TiclProfileSettingsProvider() {
}
bool TiclProfileSettingsProvider::UseGCMChannel() const {
- if (!gcm::GCMProfileService::IsGCMEnabled(profile_)) {
- // Do not try to use GCM channel if GCM is disabled.
- return false;
- }
-
if (profile_->GetPrefs()->GetBoolean(
prefs::kInvalidationServiceUseGCMChannel)) {
// Use GCM channel if it was enabled via prefs.
« no previous file with comments | « no previous file | chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698