| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <time.h> | 11 #include <time.h> |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <memory> | 13 #include <memory> |
| 14 #include "webrtc/base/asyncsocket.h" | 14 #include "webrtc/base/asyncsocket.h" |
| 15 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" |
| 16 #include "webrtc/base/common.h" // For stricmp |
| 16 #include "webrtc/base/diskcache.h" | 17 #include "webrtc/base/diskcache.h" |
| 17 #include "webrtc/base/httpclient.h" | 18 #include "webrtc/base/httpclient.h" |
| 18 #include "webrtc/base/httpcommon-inl.h" | 19 #include "webrtc/base/httpcommon-inl.h" |
| 19 #include "webrtc/base/logging.h" | 20 #include "webrtc/base/logging.h" |
| 20 #include "webrtc/base/pathutils.h" | 21 #include "webrtc/base/pathutils.h" |
| 21 #include "webrtc/base/socketstream.h" | 22 #include "webrtc/base/socketstream.h" |
| 22 #include "webrtc/base/stringencode.h" | 23 #include "webrtc/base/stringencode.h" |
| 23 #include "webrtc/base/stringutils.h" | 24 #include "webrtc/base/stringutils.h" |
| 24 #include "webrtc/base/thread.h" | 25 #include "webrtc/base/thread.h" |
| 25 | 26 |
| (...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 const std::string& agent, | 827 const std::string& agent, |
| 827 HttpTransaction* transaction) | 828 HttpTransaction* transaction) |
| 828 : ReuseSocketPool(factory ? factory : Thread::Current()->socketserver()), | 829 : ReuseSocketPool(factory ? factory : Thread::Current()->socketserver()), |
| 829 HttpClient(agent, NULL, transaction) { | 830 HttpClient(agent, NULL, transaction) { |
| 830 set_pool(this); | 831 set_pool(this); |
| 831 } | 832 } |
| 832 | 833 |
| 833 ////////////////////////////////////////////////////////////////////// | 834 ////////////////////////////////////////////////////////////////////// |
| 834 | 835 |
| 835 } // namespace rtc | 836 } // namespace rtc |
| OLD | NEW |