OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |