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

Unified 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: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index c6467999cae512e2fe87662cea827902cd8ea03d..3dd74ceb8aae575b73c5515f7630fc27e13d3759 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/compiler_specific.h"
+#include "base/id_map.h"
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
#include "content/common/content_export.h"
@@ -87,6 +88,10 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE;
virtual void GetPlugins(bool refresh,
std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
+ virtual void didStartWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
+ virtual void didStopWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
private:
bool CheckPreparsedJsCachingEnabled() const;
@@ -121,6 +126,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
scoped_ptr<WebFileSystemImpl> web_file_system_;
scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
+
+ // Only use this on the IO thread.
+ IDMap<void> webkit_to_chrome_thread_id_;
michaeln 2011/11/30 21:48:14 i don't see where this is used?
dgrogan 2011/11/30 23:25:18 Oops, remnant of a previous strategy. Deleted.
};
#endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698