| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
| 10 #include "base/nullable_string16.h" | 10 #include "base/nullable_string16.h" |
| 11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "chrome/common/dom_storage_common.h" | 14 #include "content/common/dom_storage_common.h" |
| 15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" |
| 17 | 17 |
| 18 class DOMStorageNamespace; | 18 class DOMStorageNamespace; |
| 19 class HostContentSettingsMap; | 19 class HostContentSettingsMap; |
| 20 | 20 |
| 21 // Only use on the WebKit thread. DOMStorageNamespace manages our registration | 21 // Only use on the WebKit thread. DOMStorageNamespace manages our registration |
| 22 // with DOMStorageContext. | 22 // with DOMStorageContext. |
| 23 class DOMStorageArea { | 23 class DOMStorageArea { |
| 24 public: | 24 public: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 struct hash<DOMStorageArea*> { | 74 struct hash<DOMStorageArea*> { |
| 75 std::size_t operator()(DOMStorageArea* const& p) const { | 75 std::size_t operator()(DOMStorageArea* const& p) const { |
| 76 return reinterpret_cast<std::size_t>(p); | 76 return reinterpret_cast<std::size_t>(p); |
| 77 } | 77 } |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace __gnu_cxx | 80 } // namespace __gnu_cxx |
| 81 #endif | 81 #endif |
| 82 | 82 |
| 83 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 83 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| OLD | NEW |