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 unsigned long long visitedLinkHash(const char* canonicalURL, | 46 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
47 size_t length); | 47 size_t length); |
48 virtual bool isLinkVisited(unsigned long long linkHash); | 48 virtual bool isLinkVisited(unsigned long long linkHash); |
49 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 49 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
50 virtual void setCookies(const WebKit::WebURL& url, | 50 virtual void setCookies(const WebKit::WebURL& url, |
51 const WebKit::WebURL& first_party_for_cookies, | 51 const WebKit::WebURL& first_party_for_cookies, |
52 const WebKit::WebString& value); | 52 const WebKit::WebString& value); |
53 virtual WebKit::WebString cookies( | 53 virtual WebKit::WebString cookies( |
54 const WebKit::WebURL& url, | 54 const WebKit::WebURL& url, |
55 const WebKit::WebURL& first_party_for_cookies); | 55 const WebKit::WebURL& first_party_for_cookies); |
56 virtual void prefetchHostName(const WebKit::WebString&); | |
57 virtual WebKit::WebString defaultLocale(); | 56 virtual WebKit::WebString defaultLocale(); |
58 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); | 57 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); |
59 virtual void dispatchStorageEvent( | 58 virtual void dispatchStorageEvent( |
60 const WebKit::WebString& key, const WebKit::WebString& old_value, | 59 const WebKit::WebString& key, const WebKit::WebString& old_value, |
61 const WebKit::WebString& new_value, const WebKit::WebString& origin, | 60 const WebKit::WebString& new_value, const WebKit::WebString& origin, |
62 const WebKit::WebURL& url, bool is_local_storage); | 61 const WebKit::WebURL& url, bool is_local_storage); |
63 | 62 |
64 virtual WebKit::Platform::FileHandle databaseOpenFile( | 63 virtual WebKit::Platform::FileHandle databaseOpenFile( |
65 const WebKit::WebString& vfs_file_name, int desired_flags); | 64 const WebKit::WebString& vfs_file_name, int desired_flags); |
66 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 65 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 114 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
116 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 115 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
117 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; | 116 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; |
118 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 117 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
119 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 118 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
120 }; | 119 }; |
121 | 120 |
122 } // namespace content | 121 } // namespace content |
123 | 122 |
124 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 123 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |