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

Unified Diff: remoting/host/it2me/it2me_host.h

Issue 2310303002: Moving It2Me confirmation prompt into the Validation callback flow (Closed)
Patch Set: Addressing CR Feedback Created 4 years, 3 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
« no previous file with comments | « remoting/host/it2me/it2me_confirmation_dialog_proxy_unittest.cc ('k') | remoting/host/it2me/it2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_host.h
diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h
index 2a1a72d4603e966ca16d1d7f7fa6f4a0c07a1550..bd80fe8d26a7da790848068de98577c8b92b3aa2 100644
--- a/remoting/host/it2me/it2me_host.h
+++ b/remoting/host/it2me/it2me_host.h
@@ -122,12 +122,10 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
// Returns true if the host is connected.
bool IsConnected() const;
- // Presents a confirmation dialog to the user before starting the connection
- // process.
- void ShowConfirmationPrompt();
-
// Processes the result of the confirmation dialog.
- void OnConfirmationResult(It2MeConfirmationDialog::Result result);
+ void OnConfirmationResult(
+ const protocol::ValidatingAuthenticator::ResultCallback& result_callback,
+ It2MeConfirmationDialog::Result result);
// Called by Connect() to check for policies and start connection process.
void ReadPolicyAndConnect();
« no previous file with comments | « remoting/host/it2me/it2me_confirmation_dialog_proxy_unittest.cc ('k') | remoting/host/it2me/it2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698