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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
6 #define CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
7 #pragma once
8
9 #include "ipc/ipc_channel.h"
10
11 struct DOMStorageMsg_Event_Params;
12
13 // Dispatches DomStorage related messages sent to a renderer process from the
14 // main browser process. There is one instance per child process. Messages
15 // are dispatched on the main renderer thread. The RenderThreadImpl
16 // creates an instance and delegates calls to it.
17 class DomStorageDispatcher : public IPC::Channel::Listener {
18 public:
19 DomStorageDispatcher() {}
20
21 // IPC::Channel::Listener implementation
22 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
23
24 private:
25 // IPC message handlers
26 void OnStorageEvent(const DOMStorageMsg_Event_Params& params);
27 };
28
29 #endif // CONTENT_RENDERER_DOM_STORAGE_DOM_STORAGE_DISPATCHER_H_
OLDNEW
« 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