| 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 #include "webkit/fileapi/file_system_url_request_job_factory.h" | 5 #include "webkit/browser/fileapi/file_system_url_request_job_factory.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "net/url_request/url_request.h" | 11 #include "net/url_request/url_request.h" |
| 12 #include "webkit/fileapi/file_system_url_request_job.h" | 12 #include "webkit/browser/fileapi/file_system_dir_url_request_job.h" |
| 13 #include "webkit/fileapi/file_system_dir_url_request_job.h" | 13 #include "webkit/browser/fileapi/file_system_url_request_job.h" |
| 14 | 14 |
| 15 namespace fileapi { | 15 namespace fileapi { |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| 19 class FileSystemProtocolHandler | 19 class FileSystemProtocolHandler |
| 20 : public net::URLRequestJobFactory::ProtocolHandler { | 20 : public net::URLRequestJobFactory::ProtocolHandler { |
| 21 public: | 21 public: |
| 22 explicit FileSystemProtocolHandler(FileSystemContext* context); | 22 explicit FileSystemProtocolHandler(FileSystemContext* context); |
| 23 virtual ~FileSystemProtocolHandler(); | 23 virtual ~FileSystemProtocolHandler(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 } // anonymous namespace | 60 } // anonymous namespace |
| 61 | 61 |
| 62 net::URLRequestJobFactory::ProtocolHandler* | 62 net::URLRequestJobFactory::ProtocolHandler* |
| 63 CreateFileSystemProtocolHandler(FileSystemContext* context) { | 63 CreateFileSystemProtocolHandler(FileSystemContext* context) { |
| 64 DCHECK(context); | 64 DCHECK(context); |
| 65 return new FileSystemProtocolHandler(context); | 65 return new FileSystemProtocolHandler(context); |
| 66 } | 66 } |
| 67 | 67 |
| 68 } // namespace fileapi | 68 } // namespace fileapi |
| OLD | NEW |