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

Unified Diff: chrome/browser/chromeos/login/ownership_status_checker.h

Issue 7830020: Revert 99169 - Delay the metrics policy migration call to make sure ownership has been taken. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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_status_checker.h
===================================================================
--- chrome/browser/chromeos/login/ownership_status_checker.h (revision 99240)
+++ chrome/browser/chromeos/login/ownership_status_checker.h (working copy)
@@ -23,9 +23,8 @@
class OwnershipStatusChecker {
public:
// Callback function type. The status code is guaranteed to be different from
- // OWNERSHIP_UNKNOWN. The bool parameter is true iff the current logged in
- // user is the owner.
- typedef Callback2<OwnershipService::Status, bool>::Type Callback;
+ // OWNERSHIP_UNKNOWN.
+ typedef Callback1<OwnershipService::Status>::Type Callback;
explicit OwnershipStatusChecker(Callback* callback);
~OwnershipStatusChecker();
@@ -45,8 +44,7 @@
private:
void CheckOnFileThread();
- void ReportResult(OwnershipService::Status status,
- bool current_user_is_owner);
+ void ReportResult(OwnershipService::Status status);
scoped_ptr<Callback> callback_;
scoped_refptr<base::MessageLoopProxy> origin_loop_;
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/ownership_status_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698