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_job_factory.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 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
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.h" 5 #include "net/url_request/url_request_job_factory.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "net/base/load_flags.h" 9 #include "net/base/load_flags.h"
10 #include "net/url_request/url_request_job_manager.h" 10 #include "net/url_request/url_request_job_manager.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 URLRequestJobFactory::ProtocolHandler::~ProtocolHandler() {} 14 URLRequestJobFactory::ProtocolHandler::~ProtocolHandler() {}
15 15
16 URLRequestJobFactory::Interceptor::~Interceptor() {} 16 URLRequestJobFactory::Interceptor::~Interceptor() {}
17 17
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 bool URLRequestJobFactory::IsHandledURL(const GURL& url) const { 123 bool URLRequestJobFactory::IsHandledURL(const GURL& url) const {
124 if (!url.is_valid()) { 124 if (!url.is_valid()) {
125 // We handle error cases. 125 // We handle error cases.
126 return true; 126 return true;
127 } 127 }
128 return IsHandledProtocol(url.scheme()); 128 return IsHandledProtocol(url.scheme());
129 } 129 }
130 130
131 } // namespace net 131 } // namespace net
OLDNEW
« base/stl_util.h ('K') | « net/udp/udp_socket_unittest.cc ('k') | printing/page_range.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698