| 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 #ifndef CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ | 5 #ifndef WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ |
| 6 #define CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ | 6 #define WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ |
| 7 | 7 |
| 8 #include "net/url_request/url_request_job_factory.h" | 8 #include "net/url_request/url_request_job_factory.h" |
| 9 | 9 |
| 10 namespace base { |
| 11 class MessageLoopProxy; |
| 12 } // namespace base |
| 13 |
| 10 namespace fileapi { | 14 namespace fileapi { |
| 15 |
| 11 class FileSystemContext; | 16 class FileSystemContext; |
| 12 } // namespace fileapi | |
| 13 | 17 |
| 14 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler. | 18 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler. |
| 15 // Currently, this is only used by ProfileIOData which owns |context| and the | 19 // Currently, this is only used by ProfileIOData which owns |context| and the |
| 16 // ProtocolHandler. | 20 // ProtocolHandler. |
| 17 net::URLRequestJobFactory::ProtocolHandler* | 21 net::URLRequestJobFactory::ProtocolHandler* |
| 18 CreateFileSystemProtocolHandler(fileapi::FileSystemContext* context); | 22 CreateFileSystemProtocolHandler(FileSystemContext* context, |
| 23 base::MessageLoopProxy* file_loop_proxy); |
| 19 | 24 |
| 20 #endif // CHROME_BROWSER_NET_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ | 25 } // namespace fileapi |
| 26 |
| 27 #endif // WEBKIT_FILE_SYSTEM_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ |
| OLD | NEW |