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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service.h

Issue 317613004: Remove usage of singleton software_slot_ in nss on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/ownership/owner_settings_service.h
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service.h b/chrome/browser/chromeos/ownership/owner_settings_service.h
index 23f64dd78f81d08dd1036e87442c438f78e9cc6b..b6b507b0a5aab57483690c87f41d5f55b6f52e5c 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service.h
+++ b/chrome/browser/chromeos/ownership/owner_settings_service.h
@@ -52,9 +52,11 @@ class OwnerSettingsService : public DeviceSettingsService::PrivateKeyDelegate,
// TPMTokenLoader::Observer:
virtual void OnTPMTokenReady() OVERRIDE;
- // Checks whether NSS slots with private key are mounted or
- // not. Responds via |callback|.
- static void IsPrivateKeyExistAsync(const IsOwnerCallback& callback);
+ // Checks if the user is the device owner, without the user profile having to
+ // been initialized. Should be used only if login state is in safe mode.
+ static void IsOwnerForSafeModeAsync(const std::string& user_id,
+ const std::string& user_hash,
+ const IsOwnerCallback& callback);
static void SetOwnerKeyUtilForTesting(
const scoped_refptr<OwnerKeyUtil>& owner_key_util);

Powered by Google App Engine
This is Rietveld 408576698