| OLD | NEW |
| 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 #ifndef NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ | 5 #ifndef NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ |
| 6 #define NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ | 6 #define NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "net/base/net_export.h" |
| 11 #include "net/url_request/url_request_job_factory.h" | 12 #include "net/url_request/url_request_job_factory.h" |
| 12 | 13 |
| 13 class GURL; | 14 class GURL; |
| 14 | 15 |
| 15 namespace base { | 16 namespace base { |
| 16 class TaskRunner; | 17 class TaskRunner; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace net { | 20 namespace net { |
| 20 | 21 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 35 bool IsSafeRedirectTarget(const GURL& location) const override; | 36 bool IsSafeRedirectTarget(const GURL& location) const override; |
| 36 | 37 |
| 37 private: | 38 private: |
| 38 const scoped_refptr<base::TaskRunner> file_task_runner_; | 39 const scoped_refptr<base::TaskRunner> file_task_runner_; |
| 39 DISALLOW_COPY_AND_ASSIGN(FileProtocolHandler); | 40 DISALLOW_COPY_AND_ASSIGN(FileProtocolHandler); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace net | 43 } // namespace net |
| 43 | 44 |
| 44 #endif // NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ | 45 #endif // NET_URL_REQUEST_FILE_PROTOCOL_HANDLER_H_ |
| OLD | NEW |