Chromium Code Reviews| 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..810892dbe6c0127f9533b10598bb79c9a7f6a676 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 when the current logged in |
|
Mattias Nissler (ping if slow)
2011/08/31 15:08:33
s/when/if/
pastarmovj
2011/08/31 15:26:36
Done.
|
| + // 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_; |