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

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

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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_job.h ('k') | net/url_request/url_request_netlog_params.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) 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_job_factory_impl.h" 5 #include "net/url_request/url_request_job_factory_impl.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "googleurl/src/gurl.h"
9 #include "net/base/load_flags.h" 8 #include "net/base/load_flags.h"
10 #include "net/url_request/url_request_job_manager.h" 9 #include "net/url_request/url_request_job_manager.h"
10 #include "url/gurl.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 URLRequestJobFactoryImpl::URLRequestJobFactoryImpl() {} 14 URLRequestJobFactoryImpl::URLRequestJobFactoryImpl() {}
15 15
16 URLRequestJobFactoryImpl::~URLRequestJobFactoryImpl() { 16 URLRequestJobFactoryImpl::~URLRequestJobFactoryImpl() {
17 STLDeleteValues(&protocol_handler_map_); 17 STLDeleteValues(&protocol_handler_map_);
18 } 18 }
19 19
20 bool URLRequestJobFactoryImpl::SetProtocolHandler( 20 bool URLRequestJobFactoryImpl::SetProtocolHandler(
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ProtocolHandlerMap::const_iterator it = protocol_handler_map_.find( 74 ProtocolHandlerMap::const_iterator it = protocol_handler_map_.find(
75 location.scheme()); 75 location.scheme());
76 if (it == protocol_handler_map_.end()) { 76 if (it == protocol_handler_map_.end()) {
77 // Unhandled cases are safely handled. 77 // Unhandled cases are safely handled.
78 return true; 78 return true;
79 } 79 }
80 return it->second->IsSafeRedirectTarget(location); 80 return it->second->IsSafeRedirectTarget(location);
81 } 81 }
82 82
83 } // namespace net 83 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_job.h ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698