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

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

Issue 11931024: Removed static factories for data, ftp, file, and about jobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync (r198785) Created 7 years, 7 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/protocol_intercept_job_factory.h" 5 #include "net/url_request/protocol_intercept_job_factory.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 bool ProtocolInterceptJobFactory::IsHandledProtocol( 33 bool ProtocolInterceptJobFactory::IsHandledProtocol(
34 const std::string& scheme) const { 34 const std::string& scheme) const {
35 return job_factory_->IsHandledProtocol(scheme); 35 return job_factory_->IsHandledProtocol(scheme);
36 } 36 }
37 37
38 bool ProtocolInterceptJobFactory::IsHandledURL(const GURL& url) const { 38 bool ProtocolInterceptJobFactory::IsHandledURL(const GURL& url) const {
39 return job_factory_->IsHandledURL(url); 39 return job_factory_->IsHandledURL(url);
40 } 40 }
41 41
42 bool ProtocolInterceptJobFactory::IsSafeRedirectTarget(
43 const GURL& location) const {
44 return job_factory_->IsSafeRedirectTarget(location);
45 }
46
42 } // namespace net 47 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/protocol_intercept_job_factory.h ('k') | net/url_request/url_request_about_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698