OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ |
6 #define CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ | 6 #define CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMimeRegistry.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMimeRegistry.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 50 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
51 | 51 |
52 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 52 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
53 const WebKit::WebString& vfs_file_name, int desired_flags); | 53 const WebKit::WebString& vfs_file_name, int desired_flags); |
54 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 54 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
55 bool sync_dir); | 55 bool sync_dir); |
56 virtual long databaseGetFileAttributes( | 56 virtual long databaseGetFileAttributes( |
57 const WebKit::WebString& vfs_file_name); | 57 const WebKit::WebString& vfs_file_name); |
58 virtual long long databaseGetFileSize( | 58 virtual long long databaseGetFileSize( |
59 const WebKit::WebString& vfs_file_name); | 59 const WebKit::WebString& vfs_file_name); |
| 60 virtual long long databaseGetSpaceAvailableForOrigin( |
| 61 const WebKit::WebString& origin_identifier); |
60 | 62 |
61 virtual WebKit::WebBlobRegistry* blobRegistry(); | 63 virtual WebKit::WebBlobRegistry* blobRegistry(); |
62 | 64 |
63 // WebMimeRegistry methods: | 65 // WebMimeRegistry methods: |
64 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( | 66 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( |
65 const WebKit::WebString&); | 67 const WebKit::WebString&); |
66 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( | 68 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( |
67 const WebKit::WebString&); | 69 const WebKit::WebString&); |
68 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( | 70 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( |
69 const WebKit::WebString&); | 71 const WebKit::WebString&); |
(...skipping 10 matching lines...) Expand all Loading... |
80 | 82 |
81 class FileUtilities; | 83 class FileUtilities; |
82 scoped_ptr<FileUtilities> file_utilities_; | 84 scoped_ptr<FileUtilities> file_utilities_; |
83 | 85 |
84 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 86 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
85 | 87 |
86 scoped_ptr<WebFileSystemImpl> web_file_system_; | 88 scoped_ptr<WebFileSystemImpl> web_file_system_; |
87 }; | 89 }; |
88 | 90 |
89 #endif // CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ | 91 #endif // CONTENT_WORKER_WORKER_WEBKITCLIENT_IMPL_H_ |
OLD | NEW |