OLD | NEW |
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 namespace net { | 7 namespace net { |
8 | 8 |
9 URLRequestJobFactory::ProtocolHandler::~ProtocolHandler() {} | 9 URLRequestJobFactory::ProtocolHandler::~ProtocolHandler() {} |
10 | 10 |
| 11 bool URLRequestJobFactory::ProtocolHandler::IsSafeRedirectTarget( |
| 12 const GURL& location) const { |
| 13 return true; |
| 14 } |
| 15 |
11 URLRequestJobFactory::URLRequestJobFactory() {} | 16 URLRequestJobFactory::URLRequestJobFactory() {} |
12 | 17 |
13 URLRequestJobFactory::~URLRequestJobFactory() {} | 18 URLRequestJobFactory::~URLRequestJobFactory() {} |
14 | 19 |
15 } // namespace net | 20 } // namespace net |
OLD | NEW |