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

Unified Diff: chrome/browser/chromeos/arc/arc_session_manager.h

Issue 2553193002: Remove explicit singletonness of ArcBridgeService part 4. (Closed)
Patch Set: Created 4 years 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/arc/arc_session_manager.h
diff --git a/chrome/browser/chromeos/arc/arc_session_manager.h b/chrome/browser/chromeos/arc/arc_session_manager.h
index 8c1469759e7f71a4f35edc00c9c9fb1cfdbec9f3..91ca023cf6b60f58ff238a486faaccf1ea3fa048 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.h
+++ b/chrome/browser/chromeos/arc/arc_session_manager.h
@@ -201,6 +201,8 @@ class ArcSessionManager : public ArcService,
void OnProvisioningFinished(ProvisioningResult result);
+ void SetAttemptUserExitCallbackForTesting(const base::Closure& callback);
+
private:
// Negotiates the terms of service to user.
void StartTermsOfServiceNegotiation();
@@ -248,6 +250,7 @@ class ArcSessionManager : public ArcService,
std::unique_ptr<ArcAndroidManagementChecker> android_management_checker_;
base::Time sign_in_time_;
+ base::Closure attempt_user_exit_callback_;
base::WeakPtrFactory<ArcSessionManager> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698