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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
13 | 12 |
14 class GURL; | 13 class GURL; |
15 | 14 |
16 namespace dom_storage { | 15 namespace dom_storage { |
17 class DomStorageCachedArea; | 16 class DomStorageCachedArea; |
(...skipping 16 matching lines...) Expand all Loading... |
34 virtual void removeItem( | 33 virtual void removeItem( |
35 const WebKit::WebString& key, const WebKit::WebURL& page_url); | 34 const WebKit::WebString& key, const WebKit::WebURL& page_url); |
36 virtual void clear(const WebKit::WebURL& url); | 35 virtual void clear(const WebKit::WebURL& url); |
37 | 36 |
38 private: | 37 private: |
39 int connection_id_; | 38 int connection_id_; |
40 scoped_refptr<dom_storage::DomStorageCachedArea> cached_area_; | 39 scoped_refptr<dom_storage::DomStorageCachedArea> cached_area_; |
41 }; | 40 }; |
42 | 41 |
43 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ | 42 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ |
OLD | NEW |