| 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_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ | 5 #ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ |
| 6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ | 6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "webkit/dom_storage/dom_storage_area.h" | |
| 15 | 14 |
| 16 class GURL; | 15 class GURL; |
| 17 | 16 |
| 18 namespace dom_storage { | 17 namespace dom_storage { |
| 19 | 18 |
| 20 class DomStorageArea; | 19 class DomStorageArea; |
| 21 class DomStorageTaskRunner; | 20 class DomStorageTaskRunner; |
| 22 | 21 |
| 23 // Container for the set of per-origin Areas. | 22 // Container for the set of per-origin Areas. |
| 24 // See class comments for DomStorageContext for a larger overview. | 23 // See class comments for DomStorageContext for a larger overview. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 int64 namespace_id_; | 69 int64 namespace_id_; |
| 71 FilePath directory_; | 70 FilePath directory_; |
| 72 AreaMap areas_; | 71 AreaMap areas_; |
| 73 scoped_refptr<DomStorageTaskRunner> task_runner_; | 72 scoped_refptr<DomStorageTaskRunner> task_runner_; |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 } // namespace dom_storage | 75 } // namespace dom_storage |
| 77 | 76 |
| 78 | 77 |
| 79 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ | 78 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_NAMESPACE_H_ |
| OLD | NEW |