OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef InspectorBaseAgent_h | 31 #ifndef InspectorBaseAgent_h |
32 #define InspectorBaseAgent_h | 32 #define InspectorBaseAgent_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/InstrumentingAgents.h" | 35 #include "core/InstrumentingAgents.h" |
| 36 #include "core/inspector/protocol/Protocol.h" |
36 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
37 #include "platform/inspector_protocol/InspectorProtocol.h" | |
38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class LocalFrame; | 43 class LocalFrame; |
44 | 44 |
| 45 using protocol::ErrorString; |
45 using protocol::Maybe; | 46 using protocol::Maybe; |
46 | 47 |
47 class CORE_EXPORT InspectorAgent : public GarbageCollectedFinalized<InspectorAge
nt> { | 48 class CORE_EXPORT InspectorAgent : public GarbageCollectedFinalized<InspectorAge
nt> { |
48 public: | 49 public: |
49 InspectorAgent() { } | 50 InspectorAgent() { } |
50 virtual ~InspectorAgent() { } | 51 virtual ~InspectorAgent() { } |
51 DEFINE_INLINE_VIRTUAL_TRACE() { } | 52 DEFINE_INLINE_VIRTUAL_TRACE() { } |
52 | 53 |
53 virtual void restore() { } | 54 virtual void restore() { } |
54 virtual void didCommitLoadForLocalFrame(LocalFrame*) { } | 55 virtual void didCommitLoadForLocalFrame(LocalFrame*) { } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 Member<InstrumentingAgents> m_instrumentingAgents; | 102 Member<InstrumentingAgents> m_instrumentingAgents; |
102 protocol::DictionaryValue* m_state; | 103 protocol::DictionaryValue* m_state; |
103 | 104 |
104 private: | 105 private: |
105 std::unique_ptr<typename DomainMetainfo::FrontendClass> m_frontend; | 106 std::unique_ptr<typename DomainMetainfo::FrontendClass> m_frontend; |
106 }; | 107 }; |
107 | 108 |
108 } // namespace blink | 109 } // namespace blink |
109 | 110 |
110 #endif // !defined(InspectorBaseAgent_h) | 111 #endif // !defined(InspectorBaseAgent_h) |
OLD | NEW |