| 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 CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
| 12 #include "base/nullable_string16.h" | 10 #include "base/nullable_string16.h" |
| 13 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 14 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "base/string16.h" |
| 15 #include "chrome/common/dom_storage_common.h" | 14 #include "chrome/common/dom_storage_common.h" |
| 16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 17 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" |
| 18 | 17 |
| 19 class DOMStorageDispatcherHost; | 18 class DOMStorageDispatcherHost; |
| 20 class DOMStorageNamespace; | 19 class DOMStorageNamespace; |
| 21 class HostContentSettingsMap; | 20 class HostContentSettingsMap; |
| 22 | 21 |
| 23 // Only use on the WebKit thread. DOMStorageNamespace manages our registration | 22 // Only use on the WebKit thread. DOMStorageNamespace manages our registration |
| 24 // with DOMStorageContext. | 23 // with DOMStorageContext. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 struct hash<DOMStorageArea*> { | 81 struct hash<DOMStorageArea*> { |
| 83 std::size_t operator()(DOMStorageArea* const& p) const { | 82 std::size_t operator()(DOMStorageArea* const& p) const { |
| 84 return reinterpret_cast<std::size_t>(p); | 83 return reinterpret_cast<std::size_t>(p); |
| 85 } | 84 } |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace __gnu_cxx | 87 } // namespace __gnu_cxx |
| 89 #endif | 88 #endif |
| 90 | 89 |
| 91 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ | 90 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_AREA_H_ |
| OLD | NEW |