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

Side by Side Diff: webrtc/base/httpclient.cc

Issue 2623473004: Replace all use of the VERIFY macro. (Closed)
Patch Set: Delete a DCHECK, instead log and return failure. And fix compile error in previous patch set. Created 3 years, 10 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 /* 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"
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
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
OLDNEW
« no previous file with comments | « webrtc/base/diskcache.cc ('k') | webrtc/base/httpcommon.cc » ('j') | webrtc/pc/webrtcsdp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698