| Index: chrome/browser/chromeos/login/ownership_status_checker.h
|
| diff --git a/chrome/browser/chromeos/login/ownership_status_checker.h b/chrome/browser/chromeos/login/ownership_status_checker.h
|
| index fb726da04e0c4a303f87118859d78f145bd773fb..d94bdef617451e97e8d23fe5c8701c4236f491cc 100644
|
| --- a/chrome/browser/chromeos/login/ownership_status_checker.h
|
| +++ b/chrome/browser/chromeos/login/ownership_status_checker.h
|
| @@ -23,8 +23,9 @@ namespace chromeos {
|
| class OwnershipStatusChecker {
|
| public:
|
| // Callback function type. The status code is guaranteed to be different from
|
| - // OWNERSHIP_UNKNOWN.
|
| - typedef Callback1<OwnershipService::Status>::Type Callback;
|
| + // OWNERSHIP_UNKNOWN. The bool parameter is true iff the current logged in
|
| + // user is the owner.
|
| + typedef Callback2<OwnershipService::Status, bool>::Type Callback;
|
|
|
| explicit OwnershipStatusChecker(Callback* callback);
|
| ~OwnershipStatusChecker();
|
| @@ -44,7 +45,8 @@ class OwnershipStatusChecker {
|
|
|
| private:
|
| void CheckOnFileThread();
|
| - void ReportResult(OwnershipService::Status status);
|
| + void ReportResult(OwnershipService::Status status,
|
| + bool current_user_is_owner);
|
|
|
| scoped_ptr<Callback> callback_;
|
| scoped_refptr<base::MessageLoopProxy> origin_loop_;
|
|
|