Make USB permissions work in the new permission message system
[chromium-blink-merge.git] / storage / browser / fileapi / file_system_url_request_job_factory.h
blobe784a311cd06b96abd51e2e282238399ac92d555
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
3 // found in the LICENSE file.
5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
8 #include <string>
10 #include "net/url_request/url_request_job_factory.h"
12 #include "storage/browser/storage_browser_export.h"
14 namespace storage {
16 class FileSystemContext;
18 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler.
19 // Currently, this is only used by ProfileIOData which owns |context| and the
20 // ProtocolHandler.
21 STORAGE_EXPORT net::URLRequestJobFactory::ProtocolHandler*
22 CreateFileSystemProtocolHandler(const std::string& storage_domain,
23 FileSystemContext* context);
25 } // namespace storage
27 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_