| Index: remoting/client/plugin/chromoting_instance.h
|
| diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
|
| index 9765f9688b5449bfa7d752524c18d663df1c7c5d..806559396ae0a57d32b47c16e32d7762908a327b 100644
|
| --- a/remoting/client/plugin/chromoting_instance.h
|
| +++ b/remoting/client/plugin/chromoting_instance.h
|
| @@ -39,6 +39,7 @@
|
| #include "remoting/protocol/cursor_shape_stub.h"
|
| #include "remoting/protocol/input_event_tracker.h"
|
| #include "remoting/protocol/mouse_input_filter.h"
|
| +#include "remoting/protocol/negotiating_authenticator.h"
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| @@ -56,6 +57,7 @@ class ChromotingStats;
|
| class ClientContext;
|
| class FrameConsumerProxy;
|
| class PepperAudioPlayer;
|
| +class PepperPinFetcher;
|
| class PepperView;
|
| class PepperXmppProxy;
|
| class RectangleUpdateDecoder;
|
| @@ -133,6 +135,12 @@ class ChromotingInstance :
|
| void NotifyClientResolution(int width, int height, int x_dpi, int y_dpi);
|
| void PauseVideo(bool pause);
|
| void PauseAudio(bool pause);
|
| + void FetchPinFromDialog(
|
| + const protocol::PinFetchedCallback& pin_fetched_callback);
|
| + static void FetchPinFromString(
|
| + const std::string& shared_secret,
|
| + const protocol::PinFetchedCallback& pin_fetched_callback);
|
| + void OnPinFetched(const std::string& shared_secret);
|
|
|
| // Return statistics record by ChromotingClient.
|
| // If no connection is currently active then NULL will be returned.
|
| @@ -210,6 +218,10 @@ class ChromotingInstance :
|
| // connection.
|
| scoped_refptr<PepperXmppProxy> xmpp_proxy_;
|
|
|
| + // PIN Fetcher.
|
| + bool use_async_pin_dialog_;
|
| + protocol::PinFetchedCallback pin_fetched_callback_;
|
| +
|
| base::WeakPtrFactory<ChromotingInstance> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
|
|
|