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_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_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 "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const WebKit::WebURL& url, bool is_local_storage); | 50 const WebKit::WebURL& url, bool is_local_storage); |
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 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 62 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
61 unsigned key_size_index, | 63 unsigned key_size_index, |
62 const WebKit::WebString& challenge, | 64 const WebKit::WebString& challenge, |
63 const WebKit::WebURL& url); | 65 const WebKit::WebURL& url); |
64 virtual WebKit::WebIDBFactory* idbFactory(); | 66 virtual WebKit::WebIDBFactory* idbFactory(); |
65 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 67 virtual void createIDBKeysFromSerializedValuesAndKeyPath( |
66 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 68 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
67 const WebKit::WebString& keyPath, | 69 const WebKit::WebString& keyPath, |
68 WebKit::WebVector<WebKit::WebIDBKey>& keys); | 70 WebKit::WebVector<WebKit::WebIDBKey>& keys); |
69 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 71 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 111 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
110 | 112 |
111 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 113 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
112 | 114 |
113 scoped_ptr<WebFileSystemImpl> web_file_system_; | 115 scoped_ptr<WebFileSystemImpl> web_file_system_; |
114 | 116 |
115 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 117 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
116 }; | 118 }; |
117 | 119 |
118 #endif // CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ | 120 #endif // CONTENT_RENDERER_RENDERER_WEBKITCLIENT_IMPL_H_ |
OLD | NEW |