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

Side by Side Diff: android_webview/browser/net/aw_url_request_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) 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 "android_webview/browser/net/aw_url_request_job_factory.h" 5 #include "android_webview/browser/net/aw_url_request_job_factory.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 #include "net/url_request/url_request_error_job.h" 8 #include "net/url_request/url_request_error_job.h"
9 #include "net/url_request/url_request_job_factory_impl.h" 9 #include "net/url_request/url_request_job_factory_impl.h"
10 #include "net/url_request/url_request_job_manager.h" 10 #include "net/url_request/url_request_job_manager.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return new net::URLRequestErrorJob( 56 return new net::URLRequestErrorJob(
57 request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME); 57 request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME);
58 } 58 }
59 59
60 bool AwURLRequestJobFactory::SetProtocolHandler( 60 bool AwURLRequestJobFactory::SetProtocolHandler(
61 const std::string& scheme, 61 const std::string& scheme,
62 ProtocolHandler* protocol_handler) { 62 ProtocolHandler* protocol_handler) {
63 return next_factory_->SetProtocolHandler(scheme, protocol_handler); 63 return next_factory_->SetProtocolHandler(scheme, protocol_handler);
64 } 64 }
65 65
66 bool AwURLRequestJobFactory::IsSafeRedirectTarget(const GURL& location) const {
67 return next_factory_->IsSafeRedirectTarget(location);
68 }
69
66 } // namespace android_webview 70 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698