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

Unified Diff: remoting/client/client_user_interface.h

Issue 12475020: Client plugin changes to support third party authentication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: extraneous override Created 7 years, 8 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/client/client_config.h ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/client_user_interface.h
diff --git a/remoting/client/client_user_interface.h b/remoting/client/client_user_interface.h
index 4b32a70ff597716486c543bc7143112c878b78fa..646c7c8ba26fb3abfb74ea70225178e74eb1153a 100644
--- a/remoting/client/client_user_interface.h
+++ b/remoting/client/client_user_interface.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "remoting/protocol/connection_to_host.h"
+#include "remoting/protocol/third_party_client_authenticator.h"
namespace remoting {
@@ -34,6 +35,11 @@ class ClientUserInterface {
// Get the view's CursorShapeStub implementation.
virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0;
+
+ // Get the view's TokenFetcher implementation.
+ // The TokenFetcher implementation may require interactive authentication.
+ virtual scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
+ GetTokenFetcher(const std::string& host_public_key) = 0;
};
} // namespace remoting
« no previous file with comments | « remoting/client/client_config.h ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698