OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_CLIENT_JNI_TOKEN_FETCHER_H_ | |
6 #define REMOTING_CLIENT_JNI_TOKEN_FETCHER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "remoting/protocol/third_party_client_authenticator.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 // Basic TokenFetcher implementation for client implementations that use JNI. | |
Wez
2013/07/09 17:34:47
Basic -> Dummy
Wez
2013/07/09 17:34:47
As for AudioPlayer, do we actually need this? Can'
solb
2013/07/10 00:01:19
Done.
| |
15 class TokenFetcher | |
16 : public protocol::ThirdPartyClientAuthenticator::TokenFetcher { | |
17 public: | |
18 TokenFetcher(); | |
19 | |
20 // | |
21 // ThirdPartyClientAuthenticator::TokenFetcher implementation: | |
22 // | |
Wez
2013/07/09 17:34:47
See AudioPlayer re comment format/
| |
23 virtual void FetchThirdPartyToken( | |
24 const GURL& token_url, | |
25 const std::string& scope, | |
26 const TokenFetchedCallback& token_fetched_callback) OVERRIDE; | |
27 | |
28 private: | |
29 DISALLOW_COPY_AND_ASSIGN(TokenFetcher); | |
30 }; | |
31 | |
32 } // namespace remoting | |
33 | |
34 #endif | |
OLD | NEW |