Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: webkit/browser/fileapi/file_system_url_request_job_factory.h

Issue 195923002: Add mechanism to auto mount file systems in response to a URL request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CrOS Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
7 7
8 #include <string>
9
8 #include "net/url_request/url_request_job_factory.h" 10 #include "net/url_request/url_request_job_factory.h"
9 11
10 #include "webkit/browser/webkit_storage_browser_export.h" 12 #include "webkit/browser/webkit_storage_browser_export.h"
11 13
12 namespace base { 14 namespace base {
13 class MessageLoopProxy; 15 class MessageLoopProxy;
14 } // namespace base 16 } // namespace base
15 17
16 namespace fileapi { 18 namespace fileapi {
17 19
18 class FileSystemContext; 20 class FileSystemContext;
19 21
20 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler. 22 // |context|'s lifetime should exceed the lifetime of the ProtocolHandler.
21 // Currently, this is only used by ProfileIOData which owns |context| and the 23 // Currently, this is only used by ProfileIOData which owns |context| and the
22 // ProtocolHandler. 24 // ProtocolHandler.
23 WEBKIT_STORAGE_BROWSER_EXPORT net::URLRequestJobFactory::ProtocolHandler* 25 WEBKIT_STORAGE_BROWSER_EXPORT net::URLRequestJobFactory::ProtocolHandler*
24 CreateFileSystemProtocolHandler(FileSystemContext* context); 26 CreateFileSystemProtocolHandler(const std::string& storage_domain,
27 FileSystemContext* context);
25 28
26 } // namespace fileapi 29 } // namespace fileapi
27 30
28 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_ 31 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_REQUEST_JOB_FACTORY_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url_request_job.cc ('k') | webkit/browser/fileapi/file_system_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698