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

Side by Side Diff: remoting/client/jni/token_fetcher.h

Issue 18856012: Create new remoting_client_jni target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698