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

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

Issue 2561023002: arc: ARC loading progress should not be shown when started from OOBE. (Closed)
Patch Set: cleanup 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 5c6a16e759de31556166ac3b5dbf846a999b6347..6cd5b833d277da151641fac9bf7da9e3d2b01927 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.h
+++ b/chrome/browser/chromeos/arc/arc_session_manager.h
@@ -209,8 +209,13 @@ class ArcSessionManager : public ArcService,
void SetAttemptUserExitCallbackForTesting(const base::Closure& callback);
private:
+ enum class NegotiatorType {
+ DEFAULT,
+ OOBE,
+ };
+
// Negotiates the terms of service to user.
- void StartTermsOfServiceNegotiation();
+ void StartTermsOfServiceNegotiation(NegotiatorType type);
void OnTermsOfServiceNegotiated(bool accepted);
void SetState(State state);

Powered by Google App Engine
This is Rietveld 408576698