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

Side by Side Diff: remoting/protocol/third_party_authenticator_base.cc

Issue 545003004: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/third_party_authenticator_base.h" 5 #include "remoting/protocol/third_party_authenticator_base.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "remoting/base/constants.h" 11 #include "remoting/base/constants.h"
12 #include "remoting/base/rsa_key_pair.h" 12 #include "remoting/base/rsa_key_pair.h"
13 #include "remoting/protocol/channel_authenticator.h" 13 #include "remoting/protocol/channel_authenticator.h"
14 #include "remoting/protocol/v2_authenticator.h" 14 #include "remoting/protocol/v2_authenticator.h"
15 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 namespace protocol { 18 namespace protocol {
19 19
20 // static 20 // static
21 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenUrlTag = 21 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenUrlTag =
22 { remoting::kChromotingXmlNamespace, "third-party-token-url" }; 22 { remoting::kChromotingXmlNamespace, "third-party-token-url" };
23 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenScopeTag = 23 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenScopeTag =
24 { remoting::kChromotingXmlNamespace, "third-party-token-scope" }; 24 { remoting::kChromotingXmlNamespace, "third-party-token-scope" };
25 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenTag = 25 const buzz::StaticQName ThirdPartyAuthenticatorBase::kTokenTag =
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 scoped_ptr<ChannelAuthenticator> 89 scoped_ptr<ChannelAuthenticator>
90 ThirdPartyAuthenticatorBase::CreateChannelAuthenticator() const { 90 ThirdPartyAuthenticatorBase::CreateChannelAuthenticator() const {
91 DCHECK_EQ(state(), ACCEPTED); 91 DCHECK_EQ(state(), ACCEPTED);
92 92
93 return underlying_->CreateChannelAuthenticator(); 93 return underlying_->CreateChannelAuthenticator();
94 } 94 }
95 95
96 } // namespace protocol 96 } // namespace protocol
97 } // namespace remoting 97 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/third_party_authenticator_base.h ('k') | remoting/protocol/third_party_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698