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/blink_platform_impl.h" | 9 #include "content/child/blink_platform_impl.h" |
10 #include "third_party/WebKit/public/platform/WebIDBFactory.h" | 10 #include "third_party/WebKit/public/platform/WebIDBFactory.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 // WebKitPlatformSupport methods: | 40 // WebKitPlatformSupport methods: |
41 virtual blink::WebClipboard* clipboard(); | 41 virtual blink::WebClipboard* clipboard(); |
42 virtual blink::WebMimeRegistry* mimeRegistry(); | 42 virtual blink::WebMimeRegistry* mimeRegistry(); |
43 virtual blink::WebFileSystem* fileSystem(); | 43 virtual blink::WebFileSystem* fileSystem(); |
44 virtual blink::WebFileUtilities* fileUtilities(); | 44 virtual blink::WebFileUtilities* fileUtilities(); |
45 virtual blink::WebSandboxSupport* sandboxSupport(); | 45 virtual blink::WebSandboxSupport* sandboxSupport(); |
46 virtual bool sandboxEnabled(); | 46 virtual bool sandboxEnabled(); |
47 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 47 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
48 size_t length); | 48 size_t length); |
49 virtual bool isLinkVisited(unsigned long long linkHash); | 49 virtual bool isLinkVisited(unsigned long long linkHash); |
50 virtual blink::WebMessagePortChannel* createMessagePortChannel(); | 50 virtual void createMessageChannel(blink::WebMessagePortChannel** channel1, |
51 virtual void createMessageChannel( | 51 blink::WebMessagePortChannel** channel2); |
52 blink::WebMessagePortChannel** channel1, | |
53 blink::WebMessagePortChannel** channel2); | |
54 virtual void setCookies(const blink::WebURL& url, | 52 virtual void setCookies(const blink::WebURL& url, |
55 const blink::WebURL& first_party_for_cookies, | 53 const blink::WebURL& first_party_for_cookies, |
56 const blink::WebString& value); | 54 const blink::WebString& value); |
57 virtual blink::WebString cookies( | 55 virtual blink::WebString cookies( |
58 const blink::WebURL& url, | 56 const blink::WebURL& url, |
59 const blink::WebURL& first_party_for_cookies); | 57 const blink::WebURL& first_party_for_cookies); |
60 virtual blink::WebString defaultLocale(); | 58 virtual blink::WebString defaultLocale(); |
61 virtual blink::WebStorageNamespace* createLocalStorageNamespace(); | 59 virtual blink::WebStorageNamespace* createLocalStorageNamespace(); |
62 virtual void dispatchStorageEvent( | 60 virtual void dispatchStorageEvent( |
63 const blink::WebString& key, const blink::WebString& old_value, | 61 const blink::WebString& key, const blink::WebString& old_value, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 119 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
122 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 120 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
123 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 121 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
124 | 122 |
125 DISALLOW_COPY_AND_ASSIGN(WorkerWebKitPlatformSupportImpl); | 123 DISALLOW_COPY_AND_ASSIGN(WorkerWebKitPlatformSupportImpl); |
126 }; | 124 }; |
127 | 125 |
128 } // namespace content | 126 } // namespace content |
129 | 127 |
130 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 128 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |