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 CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ |
6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ | 6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebStorageArea.h" | 10 #include "third_party/WebKit/public/platform/WebStorageArea.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 11 #include "third_party/WebKit/public/platform/WebString.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace dom_storage { | 15 namespace dom_storage { |
16 class DomStorageCachedArea; | 16 class DomStorageCachedArea; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class WebStorageAreaImpl : public WebKit::WebStorageArea { | 21 class WebStorageAreaImpl : public WebKit::WebStorageArea { |
(...skipping 16 matching lines...) Expand all Loading... |
38 virtual size_t memoryBytesUsedByCache() const; | 38 virtual size_t memoryBytesUsedByCache() const; |
39 | 39 |
40 private: | 40 private: |
41 int connection_id_; | 41 int connection_id_; |
42 scoped_refptr<dom_storage::DomStorageCachedArea> cached_area_; | 42 scoped_refptr<dom_storage::DomStorageCachedArea> cached_area_; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
46 | 46 |
47 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ | 47 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ |
OLD | NEW |