| Index: chrome/browser/worker_host/worker_process_host.h
|
| diff --git a/chrome/browser/worker_host/worker_process_host.h b/chrome/browser/worker_host/worker_process_host.h
|
| index 0bdc4efa15ac4e0220d8bb15169f802558c69083..3331586e2d2daa8c2eb080bdc9f22708d84c8b4d 100644
|
| --- a/chrome/browser/worker_host/worker_process_host.h
|
| +++ b/chrome/browser/worker_host/worker_process_host.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback.h"
|
| +#include "base/file_path.h"
|
| #include "base/ref_counted.h"
|
| #include "chrome/browser/browser_child_process_host.h"
|
| #include "chrome/browser/net/chrome_url_request_context.h"
|
| @@ -23,6 +24,7 @@ class ChromeURLRequestContext;
|
| class ChromeURLRequestContextGetter;
|
| class DatabaseDispatcherHost;
|
| class FileSystemDispatcherHost;
|
| +class FileUtilitiesDispatcherHost;
|
| namespace webkit_database {
|
| class DatabaseTracker;
|
| } // namespace webkit_database
|
| @@ -192,6 +194,13 @@ class WorkerProcessHost : public BrowserChildProcessHost {
|
| void OnCancelCreateDedicatedWorker(int route_id);
|
| void OnForwardToWorker(const IPC::Message& message);
|
|
|
| + void OnGetMimeTypeFromExtension(
|
| + const FilePath::StringType& ext, std::string* mime_type);
|
| + void OnGetMimeTypeFromFile(
|
| + const FilePath& file_path, std::string* mime_type);
|
| + void OnGetPreferredExtensionForMimeType(
|
| + const std::string& mime_type, FilePath::StringType* ext);
|
| +
|
| Instances instances_;
|
|
|
| scoped_refptr<ChromeURLRequestContext> request_context_;
|
| @@ -199,6 +208,7 @@ class WorkerProcessHost : public BrowserChildProcessHost {
|
| scoped_refptr<DatabaseDispatcherHost> db_dispatcher_host_;
|
| scoped_ptr<BlobDispatcherHost> blob_dispatcher_host_;
|
| scoped_refptr<FileSystemDispatcherHost> file_system_dispatcher_host_;
|
| + scoped_refptr<FileUtilitiesDispatcherHost> file_utilities_dispatcher_host_;
|
|
|
| // A callback to create a routing id for the associated worker process.
|
| scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_;
|
|
|