OLD | NEW |
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/host/token_validator_factory_impl.h" | 5 #include "remoting/host/token_validator_factory_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/base64.h" | 9 #include "base/base64.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
14 #include "base/values.h" | 17 #include "base/values.h" |
15 #include "crypto/random.h" | 18 #include "crypto/random.h" |
16 #include "net/base/elements_upload_data_stream.h" | 19 #include "net/base/elements_upload_data_stream.h" |
17 #include "net/base/escape.h" | 20 #include "net/base/escape.h" |
18 #include "net/base/io_buffer.h" | 21 #include "net/base/io_buffer.h" |
19 #include "net/base/request_priority.h" | 22 #include "net/base/request_priority.h" |
20 #include "net/base/upload_bytes_element_reader.h" | 23 #include "net/base/upload_bytes_element_reader.h" |
21 #include "net/url_request/url_request.h" | 24 #include "net/url_request/url_request.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 TokenValidatorFactoryImpl::CreateTokenValidator( | 125 TokenValidatorFactoryImpl::CreateTokenValidator( |
123 const std::string& local_jid, | 126 const std::string& local_jid, |
124 const std::string& remote_jid) { | 127 const std::string& remote_jid) { |
125 return make_scoped_ptr( | 128 return make_scoped_ptr( |
126 new TokenValidatorImpl(third_party_auth_config_, | 129 new TokenValidatorImpl(third_party_auth_config_, |
127 key_pair_, local_jid, remote_jid, | 130 key_pair_, local_jid, remote_jid, |
128 request_context_getter_)); | 131 request_context_getter_)); |
129 } | 132 } |
130 | 133 |
131 } // namespace remoting | 134 } // namespace remoting |
OLD | NEW |