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

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

Issue 9375024: Get IPC working for Indexed DB in shared workers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to ToT Created 8 years, 10 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
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/common/webkitplatformsupport_impl.h" 10 #include "content/common/webkitplatformsupport_impl.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool sync_dir); 56 bool sync_dir);
57 virtual long databaseGetFileAttributes( 57 virtual long databaseGetFileAttributes(
58 const WebKit::WebString& vfs_file_name); 58 const WebKit::WebString& vfs_file_name);
59 virtual long long databaseGetFileSize( 59 virtual long long databaseGetFileSize(
60 const WebKit::WebString& vfs_file_name); 60 const WebKit::WebString& vfs_file_name);
61 virtual long long databaseGetSpaceAvailableForOrigin( 61 virtual long long databaseGetSpaceAvailableForOrigin(
62 const WebKit::WebString& origin_identifier); 62 const WebKit::WebString& origin_identifier);
63 63
64 virtual WebKit::WebBlobRegistry* blobRegistry(); 64 virtual WebKit::WebBlobRegistry* blobRegistry();
65 65
66 virtual WebKit::WebIDBFactory* idbFactory() OVERRIDE;
67
66 // WebMimeRegistry methods: 68 // WebMimeRegistry methods:
67 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType( 69 virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(
68 const WebKit::WebString&); 70 const WebKit::WebString&);
69 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType( 71 virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(
70 const WebKit::WebString&); 72 const WebKit::WebString&);
71 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( 73 virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
72 const WebKit::WebString&); 74 const WebKit::WebString&);
73 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType( 75 virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(
74 const WebKit::WebString&, const WebKit::WebString&); 76 const WebKit::WebString&, const WebKit::WebString&);
75 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( 77 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
76 const WebKit::WebString&); 78 const WebKit::WebString&);
77 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); 79 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
78 virtual WebKit::WebString wellKnownMimeTypeForExtension( 80 virtual WebKit::WebString wellKnownMimeTypeForExtension(
79 const WebKit::WebString&); 81 const WebKit::WebString&);
80 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); 82 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
81 virtual WebKit::WebString preferredExtensionForMIMEType( 83 virtual WebKit::WebString preferredExtensionForMIMEType(
82 const WebKit::WebString&); 84 const WebKit::WebString&);
83 85
84 private: 86 private:
85 87
86 class FileUtilities; 88 class FileUtilities;
87 scoped_ptr<FileUtilities> file_utilities_; 89 scoped_ptr<FileUtilities> file_utilities_;
88 90
89 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 91 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
90 92
91 scoped_ptr<WebFileSystemImpl> web_file_system_; 93 scoped_ptr<WebFileSystemImpl> web_file_system_;
94 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
92 }; 95 };
93 96
94 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ 97 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698