| OLD | NEW |
| 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 CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/child/webkitplatformsupport_impl.h" | 9 #include "content/child/webkitplatformsupport_impl.h" |
| 10 #include "third_party/WebKit/public/platform/WebIDBFactory.h" | 10 #include "third_party/WebKit/public/platform/WebIDBFactory.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 virtual bool isLinkVisited(unsigned long long linkHash); | 46 virtual bool isLinkVisited(unsigned long long linkHash); |
| 47 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 47 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
| 48 virtual void setCookies(const WebKit::WebURL& url, | 48 virtual void setCookies(const WebKit::WebURL& url, |
| 49 const WebKit::WebURL& first_party_for_cookies, | 49 const WebKit::WebURL& first_party_for_cookies, |
| 50 const WebKit::WebString& value); | 50 const WebKit::WebString& value); |
| 51 virtual WebKit::WebString cookies( | 51 virtual WebKit::WebString cookies( |
| 52 const WebKit::WebURL& url, | 52 const WebKit::WebURL& url, |
| 53 const WebKit::WebURL& first_party_for_cookies); | 53 const WebKit::WebURL& first_party_for_cookies); |
| 54 virtual void prefetchHostName(const WebKit::WebString&); | 54 virtual void prefetchHostName(const WebKit::WebString&); |
| 55 virtual WebKit::WebString defaultLocale(); | 55 virtual WebKit::WebString defaultLocale(); |
| 56 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 56 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); |
| 57 const WebKit::WebString& path, unsigned quota); | |
| 58 virtual void dispatchStorageEvent( | 57 virtual void dispatchStorageEvent( |
| 59 const WebKit::WebString& key, const WebKit::WebString& old_value, | 58 const WebKit::WebString& key, const WebKit::WebString& old_value, |
| 60 const WebKit::WebString& new_value, const WebKit::WebString& origin, | 59 const WebKit::WebString& new_value, const WebKit::WebString& origin, |
| 61 const WebKit::WebURL& url, bool is_local_storage); | 60 const WebKit::WebURL& url, bool is_local_storage); |
| 62 | 61 |
| 63 virtual WebKit::Platform::FileHandle databaseOpenFile( | 62 virtual WebKit::Platform::FileHandle databaseOpenFile( |
| 64 const WebKit::WebString& vfs_file_name, int desired_flags); | 63 const WebKit::WebString& vfs_file_name, int desired_flags); |
| 65 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 64 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 66 bool sync_dir); | 65 bool sync_dir); |
| 67 virtual long databaseGetFileAttributes( | 66 virtual long databaseGetFileAttributes( |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 scoped_ptr<WebFileSystemImpl> web_file_system_; | 108 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 110 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 109 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 111 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 110 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 112 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 111 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
| 113 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 112 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace content | 115 } // namespace content |
| 117 | 116 |
| 118 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 117 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |