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

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

Issue 6339012: More net/ method ordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More done while waiting for previous patch to clear Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_about_job.cc ('k') | net/url_request/url_request_file_dir_job.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/string_util.h" 7 #include "base/string_util.h"
8 #include "net/base/cookie_store.h" 8 #include "net/base/cookie_store.h"
9 #include "net/base/host_resolver.h" 9 #include "net/base/host_resolver.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 URLRequestContext::URLRequestContext() 13 URLRequestContext::URLRequestContext()
14 : net_log_(NULL), 14 : net_log_(NULL),
15 host_resolver_(NULL), 15 host_resolver_(NULL),
16 cert_verifier_(NULL), 16 cert_verifier_(NULL),
17 dnsrr_resolver_(NULL), 17 dnsrr_resolver_(NULL),
18 dns_cert_checker_(NULL), 18 dns_cert_checker_(NULL),
19 http_transaction_factory_(NULL), 19 http_transaction_factory_(NULL),
20 ftp_transaction_factory_(NULL), 20 ftp_transaction_factory_(NULL),
21 http_auth_handler_factory_(NULL), 21 http_auth_handler_factory_(NULL),
22 network_delegate_(NULL), 22 network_delegate_(NULL),
23 cookie_policy_(NULL), 23 cookie_policy_(NULL),
24 transport_security_state_(NULL), 24 transport_security_state_(NULL),
25 is_main_(false) { 25 is_main_(false) {
26 } 26 }
27 27
28 void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
29 cookie_store_ = cookie_store;
30 }
31
28 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { 32 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const {
29 return EmptyString(); 33 return EmptyString();
30 } 34 }
31 35
32 URLRequestContext::~URLRequestContext() { 36 URLRequestContext::~URLRequestContext() {
33 } 37 }
34 38
35 void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
36 cookie_store_ = cookie_store;
37 }
38
39 } // namespace net 39 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_about_job.cc ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698