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

Side by Side Diff: net/url_request/url_request_context.cc

Issue 10880071: Disable FTP on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: After rebasing Created 8 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
« no previous file with comments | « net/url_request/url_request_context.h ('k') | net/url_request/url_request_job_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/url_request/url_request_context.h" 5 #include "net/url_request/url_request_context.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/debug/alias.h" 8 #include "base/debug/alias.h"
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "net/base/host_resolver.h" 11 #include "net/base/host_resolver.h"
12 #include "net/cookies/cookie_store.h" 12 #include "net/cookies/cookie_store.h"
13 #include "net/ftp/ftp_transaction_factory.h" 13 #include "net/ftp/ftp_transaction_factory.h"
14 #include "net/http/http_transaction_factory.h" 14 #include "net/http/http_transaction_factory.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 URLRequestContext::URLRequestContext() 19 URLRequestContext::URLRequestContext()
20 : net_log_(NULL), 20 : net_log_(NULL),
21 host_resolver_(NULL), 21 host_resolver_(NULL),
22 cert_verifier_(NULL), 22 cert_verifier_(NULL),
23 server_bound_cert_service_(NULL), 23 server_bound_cert_service_(NULL),
24 fraudulent_certificate_reporter_(NULL), 24 fraudulent_certificate_reporter_(NULL),
25 http_auth_handler_factory_(NULL), 25 http_auth_handler_factory_(NULL),
26 proxy_service_(NULL), 26 proxy_service_(NULL),
27 network_delegate_(NULL), 27 network_delegate_(NULL),
28 http_server_properties_(NULL), 28 http_server_properties_(NULL),
29 transport_security_state_(NULL), 29 transport_security_state_(NULL),
30 #if !defined(DISABLE_FTP_SUPPORT)
30 ftp_auth_cache_(new FtpAuthCache), 31 ftp_auth_cache_(new FtpAuthCache),
32 #endif
31 http_transaction_factory_(NULL), 33 http_transaction_factory_(NULL),
32 ftp_transaction_factory_(NULL), 34 ftp_transaction_factory_(NULL),
33 job_factory_(NULL), 35 job_factory_(NULL),
34 throttler_manager_(NULL), 36 throttler_manager_(NULL),
35 url_requests_(new std::set<const URLRequest*>) { 37 url_requests_(new std::set<const URLRequest*>) {
36 } 38 }
37 39
38 URLRequestContext::~URLRequestContext() { 40 URLRequestContext::~URLRequestContext() {
39 AssertNoURLRequests(); 41 AssertNoURLRequests();
40 } 42 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 base::debug::Alias(url_buf); 94 base::debug::Alias(url_buf);
93 base::debug::Alias(&num_requests); 95 base::debug::Alias(&num_requests);
94 base::debug::Alias(&has_delegate); 96 base::debug::Alias(&has_delegate);
95 base::debug::Alias(&load_flags); 97 base::debug::Alias(&load_flags);
96 base::debug::Alias(&stack_trace); 98 base::debug::Alias(&stack_trace);
97 CHECK(false); 99 CHECK(false);
98 } 100 }
99 } 101 }
100 102
101 } // namespace net 103 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_context.h ('k') | net/url_request/url_request_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698