| 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 "storage/browser/fileapi/file_system_url_request_job_factory.h" | 5 #include "storage/browser/fileapi/file_system_url_request_job_factory.h" |
| 6 | 6 |
| 7 #include <string> | |
| 8 | |
| 9 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 11 #include "net/url_request/url_request.h" | 9 #include "net/url_request/url_request.h" |
| 12 #include "storage/browser/fileapi/file_system_dir_url_request_job.h" | 10 #include "storage/browser/fileapi/file_system_dir_url_request_job.h" |
| 13 #include "storage/browser/fileapi/file_system_url_request_job.h" | 11 #include "storage/browser/fileapi/file_system_url_request_job.h" |
| 14 | 12 |
| 15 namespace storage { | 13 namespace storage { |
| 16 | 14 |
| 17 namespace { | 15 namespace { |
| 18 | 16 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 62 |
| 65 } // anonymous namespace | 63 } // anonymous namespace |
| 66 | 64 |
| 67 net::URLRequestJobFactory::ProtocolHandler* CreateFileSystemProtocolHandler( | 65 net::URLRequestJobFactory::ProtocolHandler* CreateFileSystemProtocolHandler( |
| 68 const std::string& storage_domain, FileSystemContext* context) { | 66 const std::string& storage_domain, FileSystemContext* context) { |
| 69 DCHECK(context); | 67 DCHECK(context); |
| 70 return new FileSystemProtocolHandler(storage_domain, context); | 68 return new FileSystemProtocolHandler(storage_domain, context); |
| 71 } | 69 } |
| 72 | 70 |
| 73 } // namespace storage | 71 } // namespace storage |
| OLD | NEW |