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

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

Issue 6821075: Chrome-side lockbox bindings (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed empty changes. Created 9 years, 8 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/ownership_service.cc
diff --git a/chrome/browser/chromeos/login/ownership_service.cc b/chrome/browser/chromeos/login/ownership_service.cc
index 07bfc1e105a88dec6128a9005b7886ba193420f9..121f198f7de5cb839188a6e0678f1289b4ef2178 100644
--- a/chrome/browser/chromeos/login/ownership_service.cc
+++ b/chrome/browser/chromeos/login/ownership_service.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -187,7 +187,7 @@ void OwnershipService::FetchStatus() {
}
void OwnershipService::SetStatus(Status new_status) {
- DCHECK(new_status == OWNERSHIP_TAKEN || new_status == OWNERSHIP_NONE);
+ DCHECK(new_status != OWNERSHIP_UNKNOWN);
Chris Masone 2011/04/15 17:52:29 Please revert this check to what it was before you
pastarmovj 2011/04/15 18:44:49 Done.
base::AutoLock lk(ownership_status_lock_);
ownership_status_ = new_status;
}

Powered by Google App Engine
This is Rietveld 408576698