Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: trunk/src/content/worker/worker_webkitplatformsupport_impl.h

Issue 21039004: Revert 214172 "Revert 214162 "Make Platform::queryStorageUsageAn..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
11 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" 11 #include "third_party/WebKit/public/platform/WebMimeRegistry.h"
12 12
13 namespace base { 13 namespace base {
14 class MessageLoopProxy; 14 class MessageLoopProxy;
15 } 15 }
16 16
17 namespace IPC { 17 namespace IPC {
18 class SyncMessageFilter; 18 class SyncMessageFilter;
19 } 19 }
20 20
21 namespace WebKit { 21 namespace WebKit {
22 class WebFileUtilities; 22 class WebFileUtilities;
23 } 23 }
24 24
25 namespace content { 25 namespace content {
26 class QuotaMessageFilter;
26 class ThreadSafeSender; 27 class ThreadSafeSender;
27 class WebFileSystemImpl; 28 class WebFileSystemImpl;
28 29
29 class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl, 30 class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl,
30 public WebKit::WebMimeRegistry { 31 public WebKit::WebMimeRegistry {
31 public: 32 public:
32 WorkerWebKitPlatformSupportImpl( 33 WorkerWebKitPlatformSupportImpl(
33 ThreadSafeSender* sender, 34 ThreadSafeSender* sender,
34 IPC::SyncMessageFilter* sync_message_filter); 35 IPC::SyncMessageFilter* sync_message_filter,
36 QuotaMessageFilter* quota_message_filter);
35 virtual ~WorkerWebKitPlatformSupportImpl(); 37 virtual ~WorkerWebKitPlatformSupportImpl();
36 38
37 // WebKitPlatformSupport methods: 39 // WebKitPlatformSupport methods:
38 virtual WebKit::WebClipboard* clipboard(); 40 virtual WebKit::WebClipboard* clipboard();
39 virtual WebKit::WebMimeRegistry* mimeRegistry(); 41 virtual WebKit::WebMimeRegistry* mimeRegistry();
40 virtual WebKit::WebFileSystem* fileSystem(); 42 virtual WebKit::WebFileSystem* fileSystem();
41 virtual WebKit::WebFileUtilities* fileUtilities(); 43 virtual WebKit::WebFileUtilities* fileUtilities();
42 virtual WebKit::WebSandboxSupport* sandboxSupport(); 44 virtual WebKit::WebSandboxSupport* sandboxSupport();
43 virtual bool sandboxEnabled(); 45 virtual bool sandboxEnabled();
44 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 46 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 private: 109 private:
108 110
109 class FileUtilities; 111 class FileUtilities;
110 scoped_ptr<FileUtilities> file_utilities_; 112 scoped_ptr<FileUtilities> file_utilities_;
111 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 113 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
112 scoped_ptr<WebFileSystemImpl> web_file_system_; 114 scoped_ptr<WebFileSystemImpl> web_file_system_;
113 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 115 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
114 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 116 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
115 scoped_refptr<base::MessageLoopProxy> child_thread_loop_; 117 scoped_refptr<base::MessageLoopProxy> child_thread_loop_;
116 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 118 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
119 scoped_refptr<QuotaMessageFilter> quota_message_filter_;
117 }; 120 };
118 121
119 } // namespace content 122 } // namespace content
120 123
121 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ 124 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « trunk/src/content/worker/worker_thread.cc ('k') | trunk/src/content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698