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

Unified Diff: content/renderer/dom_storage/dom_storage_dispatcher.h

Issue 10162015: Pull domstorage specifics out of RenderThreadImpl into DomStorageDispatcher (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/renderer/dom_storage/OWNERS ('k') | content/renderer/dom_storage/dom_storage_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/dom_storage_dispatcher.h
===================================================================
--- content/renderer/dom_storage/dom_storage_dispatcher.h (revision 0)
+++ content/renderer/dom_storage/dom_storage_dispatcher.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
+#define CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
+#pragma once
+
+#include "ipc/ipc_channel.h"
+
+struct DOMStorageMsg_Event_Params;
+
+// Dispatches DomStorage related messages sent to a renderer process from the
+// main browser process. There is one instance per child process. Messages
+// are dispatched on the main renderer thread. The RenderThreadImpl
+// creates an instance and delegates calls to it.
+class DomStorageDispatcher : public IPC::Channel::Listener {
+ public:
+ DomStorageDispatcher() {}
+
+ // IPC::Channel::Listener implementation
+ virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+
+ private:
+ // IPC message handlers
+ void OnStorageEvent(const DOMStorageMsg_Event_Params& params);
+};
+
+#endif // CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
Property changes on: content\renderer\dom_storage\dom_storage_dispatcher.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/renderer/dom_storage/OWNERS ('k') | content/renderer/dom_storage/dom_storage_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698