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

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

Issue 2485233002: Do not run Android management check for re-auth case. (Closed)
Patch Set: rebase Created 4 years, 1 month 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.cc
diff --git a/chrome/browser/chromeos/arc/arc_support_host.cc b/chrome/browser/chromeos/arc/arc_support_host.cc
index dafb1676fe9f40bc597955e6d9af0625111d59ac..189fa74911c8b736a57d41b66618a88e5683f869 100644
--- a/chrome/browser/chromeos/arc/arc_support_host.cc
+++ b/chrome/browser/chromeos/arc/arc_support_host.cc
@@ -75,6 +75,10 @@ constexpr char kIsMetricsEnabled[] = "isMetricsEnabled";
constexpr char kIsBackupRestoreEnabled[] = "isBackupRestoreEnabled";
constexpr char kIsLocationServiceEnabled[] = "isLocationServiceEnabled";
+// "onRetryClicked" is fired when a user clicks "RETRY" button on the error
+// page.
+constexpr char kEventOnRetryClicked[] = "onRetryClicked";
+
// "onSendFeedbackClicked" is fired when a user clicks "Send Feedback" button.
constexpr char kEventOnSendFeedbackClicked[] = "onSendFeedbackClicked";
@@ -375,6 +379,8 @@ void ArcSupportHost::OnMessage(const base::DictionaryValue& message) {
} else {
NOTREACHED();
}
+ } else if (event == kEventOnRetryClicked) {
+ observer_->OnRetryClicked();
} else if (event == kEventOnSendFeedbackClicked) {
observer_->OnSendFeedbackClicked();
} else {
« no previous file with comments | « chrome/browser/chromeos/arc/arc_support_host.h ('k') | chrome/browser/resources/chromeos/arc_support/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698