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 21 matching lines...) Expand all Loading... |
32 #include "core/InspectorFrontend.h" | 32 #include "core/InspectorFrontend.h" |
33 #include "core/inspector/InspectorBaseAgent.h" | 33 #include "core/inspector/InspectorBaseAgent.h" |
34 #include "core/storage/StorageArea.h" | 34 #include "core/storage/StorageArea.h" |
35 #include "wtf/PassOwnPtr.h" | 35 #include "wtf/PassOwnPtr.h" |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class LocalFrame; | 40 class LocalFrame; |
41 class InspectorPageAgent; | 41 class InspectorPageAgent; |
42 class InstrumentingAgents; | |
43 class JSONObject; | 42 class JSONObject; |
44 class Storage; | |
45 class StorageArea; | 43 class StorageArea; |
46 | 44 |
47 typedef String ErrorString; | 45 typedef String ErrorString; |
48 | 46 |
49 class InspectorDOMStorageAgent final : public InspectorBaseAgent<InspectorDOMSto
rageAgent>, public InspectorBackendDispatcher::DOMStorageCommandHandler { | 47 class InspectorDOMStorageAgent final : public InspectorBaseAgent<InspectorDOMSto
rageAgent>, public InspectorBackendDispatcher::DOMStorageCommandHandler { |
50 public: | 48 public: |
51 static PassOwnPtrWillBeRawPtr<InspectorDOMStorageAgent> create(InspectorPage
Agent* pageAgent) | 49 static PassOwnPtrWillBeRawPtr<InspectorDOMStorageAgent> create(InspectorPage
Agent* pageAgent) |
52 { | 50 { |
53 return adoptPtrWillBeNoop(new InspectorDOMStorageAgent(pageAgent)); | 51 return adoptPtrWillBeNoop(new InspectorDOMStorageAgent(pageAgent)); |
54 } | 52 } |
(...skipping 22 matching lines...) Expand all Loading... |
77 PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefP
tr<JSONObject>&, LocalFrame*&); | 75 PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefP
tr<JSONObject>&, LocalFrame*&); |
78 PassRefPtr<TypeBuilder::DOMStorage::StorageId> storageId(SecurityOrigin*, bo
ol isLocalStorage); | 76 PassRefPtr<TypeBuilder::DOMStorage::StorageId> storageId(SecurityOrigin*, bo
ol isLocalStorage); |
79 | 77 |
80 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 78 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
81 InspectorFrontend::DOMStorage* m_frontend; | 79 InspectorFrontend::DOMStorage* m_frontend; |
82 }; | 80 }; |
83 | 81 |
84 } // namespace blink | 82 } // namespace blink |
85 | 83 |
86 #endif // !defined(InspectorDOMStorageAgent_h) | 84 #endif // !defined(InspectorDOMStorageAgent_h) |
OLD | NEW |