Chromium Code Reviews| 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; |
| } |