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

Unified Diff: chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc

Issue 548323003: Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes to *.gypi and *.gn files. Created 6 years, 3 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/chromeos/login/auth/chrome_cryptohome_authenticator.cc
diff --git a/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
index 804a32eb1ea6154ba56c7d47132841bf2a871b4d..97b24d2138f003d6841adac7feef0a7323a313ae 100644
--- a/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
+++ b/chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc
@@ -5,10 +5,11 @@
#include "chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h"
#include "base/thread_task_runner_handle.h"
-#include "chrome/browser/chromeos/ownership/owner_settings_service.h"
-#include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h"
+#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
+#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chromeos/login/login_state.h"
+#include "components/ownership/owner_key_util.h"
#include "components/user_manager/user_manager.h"
#include "content/public/browser/browser_thread.h"
@@ -44,9 +45,9 @@ void ChromeCryptohomeAuthenticator::CheckSafeModeOwnership(
LoginState::LOGGED_IN_USER_NONE);
}
- OwnerSettingsService::IsOwnerForSafeModeAsync(
+ OwnerSettingsServiceChromeOS::IsOwnerForSafeModeAsync(
context.GetUserIDHash(),
- OwnerSettingsServiceFactory::GetInstance()->GetOwnerKeyUtil(),
+ OwnerSettingsServiceChromeOSFactory::GetInstance()->GetOwnerKeyUtil(),
callback);
}

Powered by Google App Engine
This is Rietveld 408576698