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

Side by Side Diff: chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_ 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_
6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_ 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "chrome/common/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
11 class WebKitContext; 11 class WebKitContext;
12 class WebKitThread; 12 class WebKitThread;
13 13
14 // This class handles the logistics of DOM Storage within the browser process. 14 // This class handles the logistics of DOM Storage within the browser process.
15 // It mostly ferries information between IPCs and the WebKit implementations, 15 // It mostly ferries information between IPCs and the WebKit implementations,
16 // but it also handles some special cases like when renderer processes die. 16 // but it also handles some special cases like when renderer processes die.
17 // THIS CLASS MUST NOT BE DESTROYED ON THE WEBKIT THREAD. 17 // THIS CLASS MUST NOT BE DESTROYED ON THE WEBKIT THREAD.
18 class DOMStorageDispatcherHost : 18 class DOMStorageDispatcherHost :
19 public base::RefCountedThreadSafe<DOMStorageDispatcherHost> { 19 public base::RefCountedThreadSafe<DOMStorageDispatcherHost> {
(...skipping 19 matching lines...) Expand all
39 // ResourceDispatcherHost takes care of destruction. Immutable. 39 // ResourceDispatcherHost takes care of destruction. Immutable.
40 WebKitThread* webkit_thread_; 40 WebKitThread* webkit_thread_;
41 41
42 // Only set on the IO thread. 42 // Only set on the IO thread.
43 IPC::Message::Sender* message_sender_; 43 IPC::Message::Sender* message_sender_;
44 44
45 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageDispatcherHost); 45 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageDispatcherHost);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_ 48 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.h ('k') | chrome/browser/jsmessage_box_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698