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

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

Issue 8588006: Eliminate CrosLibrary::EnsureLoaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/signed_settings.cc
diff --git a/chrome/browser/chromeos/login/signed_settings.cc b/chrome/browser/chromeos/login/signed_settings.cc
index 8b579ced2042b07093a82f04d797ec926599e2e0..9f563918a3a40d956e82507233c7217701d06185 100644
--- a/chrome/browser/chromeos/login/signed_settings.cc
+++ b/chrome/browser/chromeos/login/signed_settings.cc
@@ -334,7 +334,6 @@ CheckWhitelistOp::CheckWhitelistOp(const std::string& email,
CheckWhitelistOp::~CheckWhitelistOp() {}
void CheckWhitelistOp::Execute() {
- CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded());
std::vector<uint8> sig;
std::string email_to_check = email_;
if (!service_->has_cached_policy()) {
@@ -655,7 +654,6 @@ RetrievePropertyOp::RetrievePropertyOp(const std::string& name,
RetrievePropertyOp::~RetrievePropertyOp() {}
void RetrievePropertyOp::Execute() {
- CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded());
// TODO(dilmah): Fix the race:
// At the moment when device becomes owned there is lapse of time after
// device has been owned and before temp_storage settings are finally

Powered by Google App Engine
This is Rietveld 408576698