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