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

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

Issue 2561023002: arc: ARC loading progress should not be shown when started from OOBE. (Closed)
Patch Set: comments addresses 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_support_host.h
diff --git a/chrome/browser/chromeos/arc/arc_support_host.h b/chrome/browser/chromeos/arc/arc_support_host.h
index 9a33c41a17166439747d8b4cd5e7df56e72940a2..4bcc4f3e8153f54a8fc745c968a0b2538ad8f0ac 100644
--- a/chrome/browser/chromeos/arc/arc_support_host.h
+++ b/chrome/browser/chromeos/arc/arc_support_host.h
@@ -52,9 +52,9 @@ class ArcSupportHost : public arc::ArcSupportMessageHost::Observer,
virtual void OnWindowClosed() {}
// Called when the user press AGREE button on ToS page.
- virtual void OnTermsAgreed(bool is_metrics_enabled,
- bool is_backup_and_restore_enabled,
- bool is_location_service_enabled) {}
+ virtual void OnTermsAccepted(bool is_metrics_enabled,
hidehiko 2016/12/20 15:20:45 Thank you for the refactoring. Could you make anot
khmel 2016/12/20 16:27:58 If we are renaming comments in this CL why not to
+ bool is_backup_and_restore_enabled,
+ bool is_location_service_enabled) {}
// Called when LSO auth token fetch is successfully completed.
virtual void OnAuthSucceeded(const std::string& auth_code) {}
@@ -101,8 +101,11 @@ class ArcSupportHost : public arc::ArcSupportMessageHost::Observer,
// Requests to show the LSO page.
void ShowLso();
- // Requests to show the "ARC is loading" page.
- void ShowArcLoading();
+ // Requests to show the "ARC is loading" page. If |force_activate| is set to
+ // true and UI is not shown this call activates UI first. If |force_activate|
+ // is set to false then this call does not activate UI and stores ui_page_
+ // state only.
+ void ShowArcLoading(bool force_activate);
hidehiko 2016/12/20 15:20:45 The flag looks unnecessary complexity to me. Clien
khmel 2016/12/20 16:27:58 Responded in cc file.
// Requests to show the error page
void ShowError(Error error, bool should_show_send_feedback);

Powered by Google App Engine
This is Rietveld 408576698