OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "modules/storage/StorageArea.h" | 35 #include "modules/storage/StorageArea.h" |
36 #include "wtf/HashMap.h" | 36 #include "wtf/HashMap.h" |
37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class LocalFrame; | 41 class LocalFrame; |
42 class Page; | 42 class Page; |
43 class StorageArea; | 43 class StorageArea; |
44 | 44 |
45 namespace protocol { | |
46 class DictionaryValue; | |
47 } | |
48 | |
49 class MODULES_EXPORT InspectorDOMStorageAgent final | 45 class MODULES_EXPORT InspectorDOMStorageAgent final |
50 : public InspectorBaseAgent<protocol::DOMStorage::Metainfo> { | 46 : public InspectorBaseAgent<protocol::DOMStorage::Metainfo> { |
51 public: | 47 public: |
52 static InspectorDOMStorageAgent* create(Page* page) { | 48 static InspectorDOMStorageAgent* create(Page* page) { |
53 return new InspectorDOMStorageAgent(page); | 49 return new InspectorDOMStorageAgent(page); |
54 } | 50 } |
55 | 51 |
56 ~InspectorDOMStorageAgent() override; | 52 ~InspectorDOMStorageAgent() override; |
57 DECLARE_VIRTUAL_TRACE(); | 53 DECLARE_VIRTUAL_TRACE(); |
58 | 54 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 SecurityOrigin*, | 86 SecurityOrigin*, |
91 bool isLocalStorage); | 87 bool isLocalStorage); |
92 | 88 |
93 Member<Page> m_page; | 89 Member<Page> m_page; |
94 bool m_isEnabled; | 90 bool m_isEnabled; |
95 }; | 91 }; |
96 | 92 |
97 } // namespace blink | 93 } // namespace blink |
98 | 94 |
99 #endif // !defined(InspectorDOMStorageAgent_h) | 95 #endif // !defined(InspectorDOMStorageAgent_h) |
OLD | NEW |