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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: repurpose obsolete indexed-db switch to control idb on workers Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual double audioHardwareSampleRate() OVERRIDE; 85 virtual double audioHardwareSampleRate() OVERRIDE;
86 virtual size_t audioHardwareBufferSize() OVERRIDE; 86 virtual size_t audioHardwareBufferSize() OVERRIDE;
87 virtual WebKit::WebAudioDevice* createAudioDevice( 87 virtual WebKit::WebAudioDevice* createAudioDevice(
88 size_t buffer_size, unsigned channels, double sample_rate, 88 size_t buffer_size, unsigned channels, double sample_rate,
89 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; 89 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE;
90 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; 90 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE;
91 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; 91 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE;
92 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; 92 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE;
93 virtual void GetPlugins(bool refresh, 93 virtual void GetPlugins(bool refresh,
94 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 94 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
95 virtual void didStartWorkerRunLoop(
96 const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
97 virtual void didStopWorkerRunLoop(
98 const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
95 99
96 private: 100 private:
97 bool CheckPreparsedJsCachingEnabled() const; 101 bool CheckPreparsedJsCachingEnabled() const;
98 102
99 // Helper function to send synchronous message from any thread. 103 // Helper function to send synchronous message from any thread.
100 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); 104 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg);
101 105
102 scoped_ptr<RendererClipboardClient> clipboard_client_; 106 scoped_ptr<RendererClipboardClient> clipboard_client_;
103 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; 107 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_;
104 108
(...skipping 19 matching lines...) Expand all
124 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 128 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
125 129
126 scoped_ptr<WebFileSystemImpl> web_file_system_; 130 scoped_ptr<WebFileSystemImpl> web_file_system_;
127 131
128 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 132 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
129 133
130 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 134 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
131 }; 135 };
132 136
133 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 137 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698