OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "webkit/dom_storage/dom_storage_context.h" | 10 #include "webkit/browser/dom_storage/dom_storage_context.h" |
11 | 11 |
12 namespace dom_storage { | 12 namespace dom_storage { |
13 class DomStorageHost; | 13 class DomStorageHost; |
14 } | 14 } |
15 namespace WebKit { | 15 namespace WebKit { |
16 class WebStorageNamespace; | 16 class WebStorageNamespace; |
17 } | 17 } |
18 | 18 |
19 // Class that composes dom_storage classes together for use | 19 // Class that composes dom_storage classes together for use |
20 // in simple single process environments like test_shell and DRT. | 20 // in simple single process environments like test_shell and DRT. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 base::WeakPtrFactory<SimpleDomStorageSystem> weak_factory_; | 70 base::WeakPtrFactory<SimpleDomStorageSystem> weak_factory_; |
71 scoped_refptr<dom_storage::DomStorageContext> context_; | 71 scoped_refptr<dom_storage::DomStorageContext> context_; |
72 scoped_ptr<dom_storage::DomStorageHost> host_; | 72 scoped_ptr<dom_storage::DomStorageHost> host_; |
73 AreaImpl* area_being_processed_; | 73 AreaImpl* area_being_processed_; |
74 int next_connection_id_; | 74 int next_connection_id_; |
75 | 75 |
76 static SimpleDomStorageSystem* g_instance_; | 76 static SimpleDomStorageSystem* g_instance_; |
77 }; | 77 }; |
78 | 78 |
79 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ | 79 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_DOM_STORAGE_SYSTEM_H_ |
OLD | NEW |