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