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

Unified Diff: content/browser/in_process_webkit/dom_storage_context_impl.h

Issue 9700007: ContentAPI change - Post DomStorage tasks via a SequencedTaskRunner instead of directly to WEBKIT_DE (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/in_process_webkit/dom_storage_context_impl.h
===================================================================
--- content/browser/in_process_webkit/dom_storage_context_impl.h (revision 126447)
+++ content/browser/in_process_webkit/dom_storage_context_impl.h (working copy)
@@ -19,6 +19,11 @@
class DOMStorageMessageFilter;
class DOMStorageNamespace;
+namespace base {
+class MessageLoopProxy;
+class SequencedTaskRunner;
+}
+
namespace quota {
class SpecialStoragePolicy;
}
@@ -37,6 +42,7 @@
virtual ~DOMStorageContextImpl();
// DOMStorageContext implementation:
+ virtual base::SequencedTaskRunner* task_runner() const OVERRIDE;
virtual std::vector<FilePath> GetAllStorageFiles() OVERRIDE;
virtual FilePath GetFilePath(const string16& origin_id) const OVERRIDE;
virtual void DeleteForOrigin(const string16& origin_id) OVERRIDE;
@@ -156,6 +162,7 @@
StorageNamespaceMap storage_namespace_map_;
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
+ scoped_refptr<base::MessageLoopProxy> webkit_message_loop_;
DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageContextImpl);
};
« no previous file with comments | « chrome/browser/extensions/extension_data_deleter.cc ('k') | content/browser/in_process_webkit/dom_storage_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698