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

Unified Diff: chrome/browser/local_discovery/privet_notifications.cc

Issue 479353003: Add IsAuthenticated() method to SigninManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 4 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
Index: chrome/browser/local_discovery/privet_notifications.cc
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc
index f87e0a9e64e2ffe283502f28e369962b089533bb..9d3c5f86560c412de85412b4df45df9c3af98f72 100644
--- a/chrome/browser/local_discovery/privet_notifications.cc
+++ b/chrome/browser/local_discovery/privet_notifications.cc
@@ -297,7 +297,7 @@ void PrivetNotificationService::Start() {
SigninManagerFactory::GetForProfileIfExists(
Profile::FromBrowserContext(profile_));
- if (!signin_manager || signin_manager->GetAuthenticatedUsername().empty())
+ if (!signin_manager || !signin_manager->IsAuthenticated())
return;
#endif
« no previous file with comments | « chrome/browser/extensions/external_component_loader.cc ('k') | chrome/browser/metrics/signin_status_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698