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

Unified Diff: chrome/browser/chromeos/login/user_manager.cc

Issue 3320004: Fix ChromeOS debug buildbot failure. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« 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/chromeos/login/user_manager.cc
diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc
index 381297aba3d05a5c220d741a05db0045f8e40884..3336622e8ce049afcd7c8196fe35e1cf1c76c743 100644
--- a/chrome/browser/chromeos/login/user_manager.cc
+++ b/chrome/browser/chromeos/login/user_manager.cc
@@ -256,8 +256,6 @@ UserManager::UserManager()
current_user_is_owner_(false) {
registrar_.Add(this, NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED,
NotificationService::AllSources());
- registrar_.Add(this, NotificationType::OWNER_KEY_FETCH_ATTEMPT_FAILED,
- NotificationService::AllSources());
}
UserManager::~UserManager() {
@@ -286,8 +284,7 @@ void UserManager::NotifyOnLogin() {
void UserManager::Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (type == NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED ||
- type == NotificationType::OWNER_KEY_FETCH_ATTEMPT_FAILED) {
+ if (type == NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED) {
ChromeThread::PostTask(ChromeThread::FILE, FROM_HERE,
NewRunnableFunction(&CheckOwnership));
}
« 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